/* ============================================================
   English Council — Main Stylesheet
   Colors: #093cf1 (primary blue) · #af8a46 (accent gold)
   ============================================================ */

/* 1. CSS Custom Properties
   ============================================================ */
:root {
  /* Brand palette */
  --blue:          #093cf1;
  --blue-dark:     #0730c4;
  --blue-deeper:   #051fa0;
  --blue-light:    #3a63f4;
  --blue-pale:     #e8effe;
  --blue-mist:     #f0f4ff;

  --gold:          #af8a46;
  --gold-dark:     #8e6e35;
  --gold-light:    #c9a566;
  --gold-pale:     #fdf5e8;

  /* Neutrals */
  --gray-50:       #f9fafb;
  --gray-100:      #f3f4f6;
  --gray-200:      #e5e7eb;
  --gray-300:      #d1d5db;
  --gray-400:      #9ca3af;
  --gray-500:      #6b7280;
  --gray-600:      #4b5563;
  --gray-700:      #374151;
  --gray-800:      #1f2937;
  --gray-900:      #111827;

  --white:         #ffffff;
  --black:         #0a0a0a;

  /* Semantic */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --border:         var(--gray-200);
  --surface:        var(--white);
  --bg:             var(--gray-50);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Sizes */
  --header-topbar-h: 40px;
  --header-nav-h:    72px;
  --header-h:        calc(var(--header-topbar-h) + var(--header-nav-h));

  /* Radii */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.18);

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,0,.2,1);
  --t-fast:     150ms;
  --t-base:     250ms;
  --t-slow:     400ms;

  /* Spacing scale */
  --sp-xs:  .5rem;
  --sp-sm:  .75rem;
  --sp-md:  1.25rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 5rem;
  --sp-3xl: 8rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* 3. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1440px; }

.section { padding-block: var(--sp-2xl); }
.section--sm { padding-block: var(--sp-xl); }
.section--lg { padding-block: var(--sp-3xl); }

/* 4. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem;    font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-heading { margin-bottom: 1rem; }
.section-subtext  { max-width: 52ch; color: var(--text-secondary); }

/* 5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .01em;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(9,60,241,.3);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(175,138,70,.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* 6. Header — Top Bar
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.header-topbar {
  background: var(--blue-deeper);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  height: var(--header-topbar-h);
}
.header-topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.topbar-right {
  display: flex;
  align-items: center;
}
.social-links {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.social-links a {
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  transition: color var(--t-fast) var(--ease);
}
.social-links a:hover { color: var(--white); }

/* 7. Header — Main Nav
   ============================================================ */
.header-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.scrolled .header-nav { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--header-nav-h);
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
}
.logo-tagline {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: var(--blue-mist);
}
.dropdown-arrow {
  transition: transform var(--t-fast) var(--ease);
}
.nav-item:hover .dropdown-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              visibility 0s linear var(--t-base);
  pointer-events: none;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              visibility 0s linear 0s;
}
/* invisible bridge so diagonal mouse movement doesn't close the dropdown */
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.dropdown-link {
  display: block;
  padding: .45rem .75rem;
  font-size: .85rem;
  font-weight: 400;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.dropdown-link:hover, .dropdown-link.active {
  background: var(--blue-mist);
  color: var(--blue);
}

/* Nav CTA */
.nav-cta { flex-shrink: 0; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 8. Mobile Menu
   ============================================================ */
.mobile-menu {
  border-top: 1px solid var(--gray-100);
  background: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out),
              padding var(--t-slow) var(--ease-out);
}
.mobile-menu.open {
  max-height: 100vh;
  padding: 1rem 0 1.5rem;
}

.mobile-nav { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-link {
  flex: 1;
  padding: .65rem .5rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-800);
}
.mobile-expand {
  padding: .65rem .5rem;
  color: var(--gray-500);
  transition: transform var(--t-fast) var(--ease);
}
.mobile-expand.open { transform: rotate(180deg); }
.mobile-submenu {
  padding-left: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease-out);
}
.mobile-submenu.open { max-height: 500px; }
.mobile-submenu-link {
  display: block;
  padding: .4rem .5rem;
  font-size: .88rem;
  color: var(--gray-600);
  border-left: 2px solid var(--gray-200);
  padding-left: .75rem;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.mobile-submenu-link:hover { color: var(--blue); border-color: var(--blue); }
.mobile-cta-item { margin-top: .75rem; }

/* 9. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 50%, var(--blue-dark) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(175,138,70,.15) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 680px;
}
.hero-label {
  display: inline-block;
  background: rgba(175,138,70,.2);
  border: 1px solid rgba(175,138,70,.4);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-deco {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  opacity: .08;
  pointer-events: none;
  overflow: hidden;
}

/* 10. Section: Stats Banner
   ============================================================ */
.stats-banner {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-block: 2rem;
  box-shadow: var(--shadow-sm);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* 11. Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-body { padding: 1.75rem; }
.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .5rem;
}
.card-text { font-size: .9rem; color: var(--text-secondary); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--t-fast) var(--ease);
}
.card-link:hover { gap: .6rem; }

/* Course card variant */
.course-card .card-header {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-mist));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.course-card .card-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--blue-pale);
  border-radius: 50%;
  opacity: .5;
}
.course-card .level-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* 12. Courses Grid
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* 13. Feature / Split Sections
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blue-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: .85rem;
  text-align: center;
  position: relative;
}
.split-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--gray-400);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-secondary);
}
.feature-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .15rem;
}

/* 14. Testimonials
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--blue-pale);
  position: absolute;
  top: .5rem;
  left: 1.5rem;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--gray-800); }
.testimonial-role { font-size: .78rem; color: var(--gray-500); }

/* 15. CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue));
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(175,138,70,.2) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.75); }

/* 16. News Cards
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card-image {
  height: 200px;
  background: var(--blue-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .8rem;
}
.news-card-body { padding: 1.5rem; }
.news-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .75rem;
}
.news-category {
  background: var(--blue-pale);
  color: var(--blue);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.news-date { color: var(--gray-400); }
.news-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.news-excerpt { font-size: .85rem; color: var(--gray-500); line-height: 1.6; }

/* 17. Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark));
  color: var(--white);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: .75rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* 18. Footer
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
}
.footer-main { padding-block: 4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.footer-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-info p svg { flex-shrink: 0; margin-top: .2rem; }
.footer-contact-info a {
  color: rgba(255,255,255,.55);
  transition: color var(--t-fast) var(--ease);
}
.footer-contact-info a:hover { color: var(--gold-light); }
.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

.footer-col-heading {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* 19. Page-specific sections
   ============================================================ */
.page-main { padding-block: var(--sp-2xl); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--blue-mist);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--blue-pale);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: .2rem; }
.contact-item-value { font-size: .9rem; color: var(--gray-800); }

/* Form styles */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(9,60,241,.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* Post / prose */
.prose h2 { margin-top: 2rem; margin-bottom: .75rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .3rem; }
.prose a  { color: var(--blue); text-decoration: underline; }

/* Post hero */
.post-hero { background: var(--blue-deeper); padding-block: 4rem; color: var(--white); }
.post-meta-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.post-category {
  background: rgba(175,138,70,.2);
  border: 1px solid rgba(175,138,70,.4);
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.post-hero time { font-size: .82rem; color: rgba(255,255,255,.6); }
.post-title { color: var(--white); max-width: 22ch; }
.post-excerpt { color: rgba(255,255,255,.7); margin-top: .75rem; font-size: 1.05rem; }
.post-body { padding-block: 4rem; }
.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }

/* 20. Utility
   ============================================================ */
.text-center { text-align: center; }
.text-center .section-subtext { margin-inline: auto; }
.gold { color: var(--gold); }
.blue { color: var(--blue); }
.bg-blue-mist { background: var(--blue-mist); }
.bg-gold-pale  { background: var(--gold-pale); }

/* 21. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .split { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .topbar-left { display: none; }

  .hero { min-height: 70vh; }

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

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

  .post-hero { padding-block: 2.5rem !important; }
  .post-title { font-size: 2rem; }
  .post-excerpt { font-size: 1rem; max-width: none; }
  .post-meta-top { flex-wrap: wrap; gap: .75rem; }
  .post-body { padding-block: 2rem !important; }
  .post-featured-image { height: 250px !important; }
  .prose { font-size: 1rem; line-height: 1.8; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .post-title { font-size: 1.75rem; }
  .post-hero { padding-block: 2rem !important; }
  .post-featured-image { height: 200px !important; }
  .post-body { padding-block: 1.5rem !important; }
  .prose { font-size: 0.98rem; }
}

/* 22. Animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp .7s var(--ease-out) both;
}
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* Gold divider accent */
.gold-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-block: 1rem;
}
.gold-divider--center { margin-inline: auto; }