@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-deep: hsl(143, 50%, 12%);
  --primary-light: hsl(143, 40%, 96%);
  --secondary-gold: hsl(38, 92%, 52%);
  --accent-clay: hsl(24, 60%, 45%);
  
  --bg-cream: hsl(40, 24%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-slate: hsl(143, 15%, 93%);
  
  --text-ink: hsl(143, 40%, 8%);
  --text-muted: hsl(143, 8%, 45%);
  --text-white: hsl(40, 20%, 98%);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 20px -2px rgba(11, 28, 18, 0.04);
  --shadow-md: 0 12px 30px -5px rgba(11, 28, 18, 0.08);
  --shadow-lg: 0 24px 50px -10px rgba(11, 28, 18, 0.12);
  --border-radius: 12px;
  --border-radius-sm: 6px;
  
  --nav-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-cream);
  color: var(--text-ink);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-deep);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h1 em {
  font-style: normal;
  color: var(--secondary-gold);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* LAYOUT & CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-header.center {
  margin: 0 auto 4rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-gold);
  margin-bottom: 1rem;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   NAVBAR
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(11, 28, 18, 0.12);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary-deep);
  flex-shrink: 0;
}

.logo span {
  color: var(--secondary-gold);
}

.logo img {
  height: 55px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-ink);
  padding: 0.5rem 0.75rem;
  position: relative;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--primary-deep);
  background: rgba(13, 77, 41, 0.06);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--secondary-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--primary-deep);
}

.nav-cta {
  background: var(--primary-deep) !important;
  color: var(--text-white) !important;
  padding: 0.7rem 1.3rem !important;
  border-radius: var(--border-radius-sm) !important;
  margin-left: 0.5rem;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--secondary-gold) !important;
  color: var(--primary-deep) !important;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   HAMBURGER (Mobile)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(13, 77, 41, 0.06);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary-deep);
  transition: var(--transition-smooth);
  display: block;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BUTTONS
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-gold);
  color: var(--primary-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--primary-deep);
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-outline:hover {
  background: var(--primary-deep);
  color: var(--text-white);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   HERO SECTION
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  background: var(--primary-deep);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  color: var(--text-white);
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 28, 18, 0.42);
}

.hero h1 {
  color: var(--text-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 1.5rem 0 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.hero-stat-card:nth-child(even) {
  margin-top: 3rem;
}

.hero-stat-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   GRIDS & CARDS
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-gold);
}

.value-card-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.impact-card {
  background: var(--primary-deep);
  color: var(--text-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.impact-card h3 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.impact-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.impact-list {
  list-style: none;
}

.impact-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.impact-list li::before {
  content: 'â†’';
  position: absolute;
  left: 0;
  color: var(--secondary-gold);
  font-weight: 700;
}

/* PILLAR GRID */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--secondary-gold);
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-member {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-role {
  font-size: 0.85rem;
  color: var(--secondary-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FOOTER
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.8);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  color: var(--secondary-gold);
}

.footer-col h4 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--secondary-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PAGE HEADER (Sub-pages)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-header {
  background: var(--primary-deep);
  padding: 8rem 0 5rem;
  text-align: center;
  color: var(--text-white);
}

.page-header h1 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.page-header .eyebrow {
  color: var(--secondary-gold);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ANIMATIONS
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TAB SYSTEM
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tab-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.tab-headers {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  border-bottom: 2px solid var(--bg-slate);
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.tab-headers::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -0.65rem;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-deep);
  transition: var(--transition-smooth);
  border-radius: 3px 3px 0 0;
}

.tab-btn:hover { color: var(--primary-deep); }

.tab-btn.active { color: var(--primary-deep); }

.tab-btn.active::after { width: 100%; }

.tab-content {
  text-align: center;
  display: none;
  animation: fadeInTab 0.4s ease-out forwards;
}

.tab-content.active { display: block; }

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BRAND
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-highlight {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary-deep);
}

footer .brand-highlight,
#join .brand-highlight,
.page-header .brand-highlight {
  color: var(--secondary-gold);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ACCESSIBILITY
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:focus-visible {
  outline: 3px solid var(--secondary-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in-scroll { opacity: 1; transform: none; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FORM RESETS (Production)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
input, textarea, button, select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

/* Prevent iOS auto-zoom on inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  font-size: 16px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TOUCH TARGET SIZES (44px minimum)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-links a,
.social-links a,
.btn-primary,
.btn-outline {
  min-height: 44px;
}

/* ─────────────────────────────────────────
   PAGE-SPECIFIC COMPONENTS (base desktop)
───────────────────────────────────────── */

/* Contact Hero */
.contact-hero {
  background: var(--primary-deep);
  padding: 8rem 0 5rem;
  text-align: center;
  color: var(--text-white);
}
.contact-hero h1 { color: var(--text-white); }

/* Offices grid — 3 columns desktop */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Office card */
.office-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.office-flag {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-row svg { flex-shrink: 0; margin-top: 2px; }
.contact-row a:hover { color: var(--secondary-gold); }

/* Contact Form layout — 2 columns desktop */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.form-info h2 { margin-bottom: 1rem; }
.form-info p  { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.premium-form {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text-ink); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  background: var(--bg-cream);
  color: var(--text-ink);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-deep);
  outline: none;
  background: #fff;
  color: var(--text-ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* About: institution demo grid — 3 columns desktop */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.demo-card {
  position: relative;
  height: 240px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.demo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.demo-card:hover img { transform: scale(1.05); }
.demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,28,18,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.demo-title {
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

/* Social links row */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.social-link:hover { color: var(--secondary-gold); }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE: 1200px â€” Large tablets/small laptops
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0.1rem;
  }
  .nav-links a {
    font-size: 0.82rem;
    padding: 0.5rem 0.6rem;
  }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-top  { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE: 1024px â€” Tablets
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .hero-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3      { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-top  { grid-template-columns: 1fr 1fr; }

  /* Contact page: form layout stacks at tablet */
  .form-layout {
    grid-template-columns: 1fr !important;
  }

  /* About: institution cards â†’ 2 cols on tablet */
  .demo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Stack horizontal governor welcome layout */
  #pres-layout {
    flex-direction: column !important;
    gap: 2.5rem !important;
  }
  #pres-layout > div:first-child {
    max-width: 100% !important;
    width: 100% !important;
    position: static !important;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE: 768px â€” Mobile nav breakpoint
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  .container { padding: 0 1.25rem; }

  section { padding: 4rem 0; }

  /* â”€â”€ Mobile Nav â”€â”€ */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    border-bottom: 1px solid rgba(13, 77, 41, 0.06);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .nav-links a::after { display: none; }

  .nav-links a.active {
    background: rgba(13, 77, 41, 0.06);
    border-left: 4px solid var(--secondary-gold);
  }

  .nav-cta {
    margin: 1rem 1.5rem 0 !important;
    border-radius: 8px !important;
    text-align: center;
    justify-content: center;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.no-scroll { overflow: hidden; }

  /* â”€â”€ All core grids â†’ Single column â”€â”€ */
  .grid-2, .grid-3, .pillar-grid, .team-grid {
    grid-template-columns: 1fr;
  }

  /* â”€â”€ Footer â”€â”€ */
  .footer-top   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* â”€â”€ Hero visual grid â”€â”€ */
  .hero-visual { grid-template-columns: 1fr; }
  .hero-stat-card:nth-child(even) { margin-top: 0; }

  /* â”€â”€ Hero buttons â†’ full width stack â”€â”€ */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* â”€â”€ Governor welcome layout â”€â”€ */
  #pres-layout {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  #pres-layout > div:first-child {
    max-width: 100% !important;
    width: 100% !important;
    position: static !important;
  }
  #pres-layout > div:first-child > div:first-child {
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  /* â”€â”€ Contact page â”€â”€ */
  .form-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .contact-hero { padding: 5rem 0 3rem !important; }

  /* â”€â”€ About: institution cards â†’ 1 col â”€â”€ */
  .demo-grid {
    grid-template-columns: 1fr !important;
  }
  .demo-card { height: 220px !important; }

  /* â”€â”€ Food gallery â”€â”€ */
  .food-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* â”€â”€ Cultural/masquerade cards â”€â”€ */
  .masq-grid {
    grid-template-columns: 1fr !important;
  }
  .masq-card { min-height: 260px !important; }

  /* â”€â”€ Office cards â”€â”€ */
  .offices-grid {
    grid-template-columns: 1fr !important;
  }

  /* â”€â”€ Timeline: linearize â”€â”€ */
  .timeline::before { left: 0 !important; }
  .timeline-item,
  .left-item,
  .right-item {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 0 !important;
  }
  .timeline-card { margin: 0 0 2rem 1rem !important; }

  /* â”€â”€ Gallery grid â”€â”€ */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; }

  /* â”€â”€ Events grid â”€â”€ */
  .events-grid { grid-template-columns: 1fr !important; }

  /* â”€â”€ Advisory / membership grids â”€â”€ */
  .benefits-grid,
  .membership-grid,
  .advisory-grid {
    grid-template-columns: 1fr !important;
  }

  /* â”€â”€ Aims inline grid â”€â”€ */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* â”€â”€ Overflow text â”€â”€ */
  body { word-wrap: break-word; overflow-wrap: break-word; }

  /* â”€â”€ Page headers â”€â”€ */
  .page-header { padding: 6rem 0 3rem; }

  /* â”€â”€ Logo shrink â”€â”€ */
  .logo img { height: 42px; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE: 600px â€” Small tablets / large phones
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 600px) {
  /* Offices / contact card grids */
  .offices-grid {
    grid-template-columns: 1fr !important;
  }

  /* Feature card grids set inline */
  .feature-grid-inline {
    grid-template-columns: 1fr;
  }

  /* Form two-column rows â†’ single column */
  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Board member grid â€” 2 columns at 600px */
  .board-grid,
  .board-member-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Food cards â€” 1 col on small screens */
  .food-grid {
    grid-template-columns: 1fr !important;
  }

  footer { padding: 3rem 0 1.5rem; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE: 480px â€” Small phones
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.4rem); }

  /* Board grid â†’ 1 column on very small phones */
  .board-grid,
  .board-member-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery â†’ 2 cols stays readable */
  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Food cards â†’ 1 col */
  .food-grid {
    grid-template-columns: 1fr !important;
  }
  .food-card img { height: 200px !important; }

  /* Cultural cards */
  .masq-grid { grid-template-columns: 1fr !important; }

  /* Institution cards */
  .demo-grid { grid-template-columns: 1fr !important; }
  .demo-card { height: 200px !important; }

  /* Social links wrap */
  .social-links {
    flex-wrap: wrap;
    gap: 0.75rem !important;
  }

  /* Section padding */
  section { padding: 3rem 0; }

  /* Hero padding */
  .hero { padding: 4rem 0; }

  /* Hero stat cards stack with no offset */
  .hero-visual { grid-template-columns: 1fr !important; }
  .hero-stat-card:nth-child(even) { margin-top: 0 !important; }

  /* Impact card padding */
  .impact-card { padding: 2rem 1.25rem !important; }

  /* Mission stat rows â€” wrap text neatly */
  .impact-card [style*="justify-content: space-between"] {
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }
  .impact-card [style*="justify-content: space-between"] span {
    font-size: 0.88rem !important;
  }

  /* Buttons â€” full width on tiny screens */
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Form submit button */
  .premium-form button[type="submit"] { width: 100%; }

  /* Back to top button positioning */
  footer [style*="position: absolute"] { right: 1rem !important; }

  /* Logo */
  .logo img { height: 38px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr !important; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Print styles
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media print {
  nav, footer, .fixed-contact-btn, .hero-slideshow { display: none; }
  body { padding-top: 0; background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
