/* ============================================================
   ECCI — Essequibo Chamber of Commerce & Industry
   Design System + Shared Styles
   ============================================================ */

:root {
  --c-teal: #0F4C5C;
  --c-teal-dark: #0A3640;
  --c-teal-darker: #062029;
  --c-gold: #D4A017;
  --c-gold-dark: #B8860B;
  --c-gold-light: #F4E4B0;
  --c-cream: #FAF6EE;
  --c-cream-dark: #F1EADB;
  --c-white: #FFFFFF;
  --c-ink: #1A2025;
  --c-ink-soft: #2D3640;
  --c-muted: #5C6470;
  --c-muted-light: #8A929C;
  --c-border: #E5DFD2;
  --c-border-soft: #EFEAD9;
  --c-bg-section: #F7F2E6;
  --c-success: #2C8C5C;
  --c-error: #B83030;

  --shadow-sm: 0 1px 2px rgba(10, 54, 64, 0.06);
  --shadow-md: 0 6px 18px rgba(10, 54, 64, 0.08);
  --shadow-lg: 0 18px 44px rgba(10, 54, 64, 0.14);
  --shadow-card: 0 4px 16px rgba(10, 54, 64, 0.06);
  --shadow-card-hover: 0 18px 40px rgba(10, 54, 64, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --t-h1: clamp(2.25rem, 4.5vw, 4rem);
  --t-h2: clamp(1.75rem, 3vw, 2.75rem);
  --t-h3: clamp(1.35rem, 2vw, 1.85rem);
  --t-h4: 1.25rem;
  --t-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-tiny: 0.75rem;

  --pad-section: clamp(56px, 8vw, 112px);
  --pad-section-tight: clamp(40px, 6vw, 80px);
  --container: 1200px;
  --container-narrow: 920px;

  --header-h: 108px;
  --header-h-mobile: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-gold-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--c-gold); color: var(--c-teal-dark); }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
h1 { font-size: var(--t-h1); font-weight: 500; letter-spacing: -0.025em; }
h2 { font-size: var(--t-h2); font-weight: 500; }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-gold-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-gold);
}
.lead {
  font-size: var(--t-lead);
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 680px;
}
.section-title {
  font-size: var(--t-h2);
  margin-bottom: 14px;
}
.section-intro {
  max-width: 720px;
  color: var(--c-muted);
  margin-bottom: 56px;
  font-size: var(--t-lead);
}

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: var(--pad-section) 0; position: relative; }
.section-tight { padding: var(--pad-section-tight) 0; }
.section-cream { background: var(--c-cream); }
.section-bg-section { background: var(--c-bg-section); }
.section-teal {
  background: var(--c-teal-dark);
  color: var(--c-cream);
}
.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4 { color: var(--c-white); }
.section-teal .lead, .section-teal .section-intro { color: rgba(250,246,238,0.78); }
.section-teal .eyebrow { color: var(--c-gold); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--c-gold);
  color: var(--c-teal-dark);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.28);
}
.btn-primary:hover {
  background: var(--c-gold-dark);
  color: var(--c-white);
  box-shadow: 0 14px 32px rgba(184, 134, 11, 0.36);
}
.btn-secondary {
  background: var(--c-teal);
  color: var(--c-white);
}
.btn-secondary:hover { background: var(--c-teal-dark); color: var(--c-white); }
.btn-outline {
  background: transparent;
  border-color: var(--c-teal);
  color: var(--c-teal);
}
.btn-outline:hover { background: var(--c-teal); color: var(--c-white); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--c-white);
}
.btn-outline-light:hover { background: var(--c-white); color: var(--c-teal-dark); }
.btn-ghost {
  background: transparent;
  color: var(--c-teal);
  padding: 10px 0;
}
.btn-ghost::after {
  content: "→";
  margin-left: 4px;
  transition: transform 0.25s var(--ease);
}
.btn-ghost:hover { color: var(--c-gold-dark); }
.btn-ghost:hover::after { transform: translateX(6px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(229, 223, 210, 0.6);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}
/* Header inverts to match menu bg when menu is open */
body.no-scroll .site-header,
body.no-scroll .site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.no-scroll .brand-name { color: var(--c-cream); }
body.no-scroll .brand-tag { color: var(--c-gold); }
body.no-scroll .hamburger { background: rgba(255, 255, 255, 0.10); }
body.no-scroll .hamburger span { background: var(--c-cream); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-teal-dark);
  font-family: var(--font-display);
  font-weight: 600;
}
.brand img { height: 85px; width: 85px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(10,54,64,0.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.25rem; letter-spacing: -0.01em; color: var(--c-teal-dark); font-weight: 700; line-height: 1.05; }
.brand-tag { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-gold-dark); font-weight: 600; margin-top: 4px; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-primary a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-primary a:hover { color: var(--c-teal); background: rgba(15, 76, 92, 0.06); }
.nav-primary a.active { color: var(--c-teal-dark); background: rgba(15, 76, 92, 0.08); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(15, 76, 92, 0.06);
  position: relative;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-teal-dark);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150; /* below header (200) so the hamburger morphs to X over the menu */
  background: linear-gradient(155deg, var(--c-teal-dark) 0%, var(--c-teal-darker) 100%);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.4s var(--ease-out-soft), transform 0.5s var(--ease-out-soft), visibility 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.mobile-nav-inner { width: 100%; max-width: 480px; text-align: center; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--c-cream);
  padding: 14px 0;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out-soft), transform 0.5s var(--ease-out-soft), color 0.2s;
}
.mobile-nav a:hover { color: var(--c-gold); }
.mobile-nav.is-open a { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.10s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.16s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.28s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.34s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 0.40s; }
.mobile-nav.is-open a:nth-child(7) { transition-delay: 0.46s; }
.mobile-nav-cta {
  margin-top: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out-soft) 0.55s, transform 0.5s var(--ease-out-soft) 0.55s;
}
.mobile-nav.is-open .mobile-nav-cta { opacity: 1; transform: translateY(0); }
.mobile-nav-meta {
  margin-top: 36px;
  font-size: 0.85rem;
  color: rgba(250,246,238,0.6);
  opacity: 0;
  transition: opacity 0.5s ease 0.7s;
}
.mobile-nav.is-open .mobile-nav-meta { opacity: 1; }
.mobile-nav-meta a { display: inline; font-size: 0.85rem; padding: 0; color: var(--c-gold); }

body.no-scroll { overflow: hidden; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--c-white);
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2.2s var(--ease);
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 14s ease-out forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.10); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,32,41,0.35) 0%, rgba(6,32,41,0.55) 60%, rgba(6,32,41,0.78) 100%),
    linear-gradient(110deg, rgba(15,76,92,0.65) 0%, rgba(15,76,92,0.10) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.hero-content .eyebrow { color: var(--c-gold); }
.hero-content .eyebrow::before { background: var(--c-gold); }
.hero h1 {
  color: var(--c-white);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 880px;
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero h1 em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 500;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  position: absolute;
  bottom: 36px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-meta::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--c-gold);
}
.hero-indicators {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero-indicators button {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, width 0.3s;
}
.hero-indicators button.is-active { background: var(--c-gold); width: 44px; }

/* Compact hero (interior pages) */
.hero-compact { min-height: 56vh; }
.hero-compact h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.hero-compact .hero-content { padding-top: 40px; padding-bottom: 60px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--c-gold); }
.breadcrumb span { color: rgba(255,255,255,0.55); }

/* ----- Stats band ----- */
.stats {
  background: linear-gradient(135deg, var(--c-teal-dark) 0%, var(--c-teal) 100%);
  color: var(--c-white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(212,160,23,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(212,160,23,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat {
  text-align: center;
  padding: 12px;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

/* ----- Cards ----- */
.cards {
  display: grid;
  gap: 28px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--c-gold);
}
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-cream) 0%, var(--c-cream-dark) 100%);
  color: var(--c-teal-dark);
  margin-bottom: 22px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--c-teal-dark); color: var(--c-gold); }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.3; }
.card p { color: var(--c-muted); font-size: 0.95rem; line-height: 1.65; }
.card-link {
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }

/* ----- Two-column feature row ----- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.two-col-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.two-col-img.has-frame::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: calc(var(--radius-xl) - 12px);
  z-index: 1;
  pointer-events: none;
}
.two-col-img.with-accent::after {
  content: "";
  position: absolute;
  bottom: -28px; right: -28px;
  width: 140px; height: 140px;
  background: var(--c-gold);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.two-col p { color: var(--c-muted); margin-bottom: 16px; }
.two-col p.lead { color: var(--c-ink-soft); font-weight: 400; }
.two-col ul { margin-top: 18px; }
.two-col ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--c-ink-soft);
}
.two-col ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 9px;
  border-left: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  transform: rotate(-45deg);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--c-teal-darker);
  color: rgba(250,246,238,0.78);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-col h4 {
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.footer-brand img { height: 80px; width: 80px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--c-white); display: block; line-height: 1.2; }
.footer-brand span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold); }
.footer-col p { font-size: 0.92rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(250,246,238,0.78);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--c-gold); }
.footer-contact-line {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.92rem;
}
.footer-contact-line svg { width: 18px; height: 18px; color: var(--c-gold); flex-shrink: 0; margin-top: 2px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--c-cream);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-socials a:hover { background: var(--c-gold); color: var(--c-teal-dark); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(250,246,238,0.55);
}
.footer-bottom a { color: rgba(250,246,238,0.7); }
.footer-bottom a:hover { color: var(--c-gold); }

/* Carbonware credit pulse badge */
.created-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.created-by a { color: rgba(250,246,238,0.75); text-decoration: none; }
.cw-pulse {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: var(--radius-pill);
  color: var(--c-gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  position: relative;
  animation: cwPulseGlow 2.4s ease-in-out infinite;
  transition: transform 0.25s var(--ease);
}
.cw-pulse:hover { transform: translateY(-1px); }
.cw-pulse::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--c-gold);
  opacity: 0.6;
  animation: cwPulseRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes cwPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
  50%      { box-shadow: 0 0 14px 2px rgba(212, 160, 23, 0.35); }
}
@keyframes cwPulseRing {
  0%   { transform: scale(1);    opacity: 0.7; }
  80%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-pulse, .cw-pulse::before { animation: none; }
}

/* ----- Forms ----- */
.form-grid { display: grid; gap: 18px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
}
.field label .req { color: var(--c-error); }
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
  font-family: var(--font-body);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.10);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field-help { font-size: 0.78rem; color: var(--c-muted); }

/* ----- CTA band ----- */
.cta-band {
  background: linear-gradient(135deg, var(--c-teal-dark) 0%, var(--c-teal) 100%);
  color: var(--c-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(212,160,23,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: var(--c-white); font-size: clamp(1.85rem, 3vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ----- Logo carousel ----- */
.logo-strip {
  background: var(--c-cream);
  padding: 56px 0;
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
  overflow: hidden;
}
.logo-strip-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 28px;
}
.logo-track-wrap { position: relative; overflow: hidden; }
.logo-track-wrap::before, .logo-track-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-track-wrap::before { left: 0; background: linear-gradient(to right, var(--c-cream), transparent); }
.logo-track-wrap::after { right: 0; background: linear-gradient(to left, var(--c-cream), transparent); }
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: scroll-logos 32s linear infinite;
  width: max-content;
  padding: 8px 0;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-track .member-tile {
  flex-shrink: 0;
  width: 180px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border-soft);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--c-teal-dark);
  font-size: 1.05rem;
  text-align: center;
  padding: 12px 18px;
  line-height: 1.2;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.logo-track .member-tile:hover {
  border-color: var(--c-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* ----- Scroll reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="200"] { transition-delay: 0.18s; }
[data-reveal-delay="300"] { transition-delay: 0.26s; }
[data-reveal-delay="400"] { transition-delay: 0.34s; }
[data-reveal-delay="500"] { transition-delay: 0.42s; }

/* ----- Section heading helper ----- */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .lead { margin: 12px auto 0; }
.section-head-left { max-width: 760px; margin-bottom: 48px; text-align: left; }

/* ----- Pill / chip ----- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-cream);
  color: var(--c-teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav-primary, .header-cta .btn-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .site-header { height: var(--header-h-mobile); }
  .brand img { height: 68px; width: 68px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tag { font-size: 0.62rem; }
  .hero { min-height: 78vh; padding-top: var(--header-h-mobile); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cards-3 .card { padding: 22px 18px; }
  .cards-3 .card h3 { font-size: 1.05rem; }
  .cards-3 .card p { font-size: 0.88rem; }
  .cards-3 .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .cards-3 .card-icon svg { width: 22px; height: 22px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-img { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-band-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
}

@media (max-width: 560px) {
  .container, .container-narrow { padding: 0 18px; }
  section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .stats { padding: 44px 0; }
  .stats-grid { gap: 24px 12px; }
  .stat { padding: 6px; }
  .card { padding: 22px 18px; }
  .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cards-3 .card { padding: 18px 14px; }
  .section-head { margin-bottom: 36px; }
  .section-intro { margin-bottom: 36px; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 32px 18px 48px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-grid > :first-child,
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 14px; font-size: 0.74rem; }
  .footer-col ul li { margin-bottom: 6px; }
  .footer-col a, .footer-col p { font-size: 0.88rem; }
  .footer-contact-line { margin-bottom: 10px; font-size: 0.88rem; }
  .site-footer { padding: 48px 0 22px; }
  .cta-band { padding: 56px 0; }
  .logo-track { gap: 32px; animation-duration: 24s; }
  .logo-track .member-tile { width: 140px; height: 72px; font-size: 0.92rem; }
  .brand-text { display: none; }
  .brand img { height: 60px; width: 60px; }
  .mobile-nav a { font-size: 1.4rem; padding: 12px 0; }
  .hero-indicators { bottom: 24px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.95rem; }
  .container { padding: 0 14px; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .card { padding: 18px 14px; }
  .cards-3 { grid-template-columns: 1fr; gap: 10px; }
  section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide.is-active { animation: none; }
  .logo-track { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
