/* ============================================================
   THE C.A.N. CIC — GLOBAL STYLESHEET
   Fonts: Anton (headings) + Open Sans 300/400/600 (body)
   Palette: Corporate mid-green, cream, warm gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Primary */
  --green:        #2d6a4f;
  --green-dark:   #1e4d38;
  --green-deep:   #163829;
  --green-light:  #3a8463;
  --green-pale:   #e8f2ec;

  /* Accent */
  --gold:         #c9972c;
  --gold-light:   #e8b84b;
  --gold-pale:    #fdf3dc;

  /* Neutrals */
  --cream:        #f7f3ec;
  --cream-dark:   #ece7de;
  --white:        #ffffff;
  --ink:          #111c14;
  --ink-mid:      #2c3d30;
  --text:         #1e2d22;
  --text-muted:   #5a6e60;
  --border:       rgba(45,106,79,0.12);
  --border-dark:  rgba(45,106,79,0.22);

  /* Type */
  --font-head:    'Anton', Impact, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  96px;
  --container:    1160px;
  --radius:       10px;
  --radius-lg:    18px;

  /* Motion */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --t:            0.32s;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── UTILITIES ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Section padding */
.section { padding: var(--section-pad) 0; }
.section--cream  { background: var(--cream); }
.section--green  { background: var(--green); }
.section--dark   { background: var(--green-deep); }
.section--ink    { background: var(--ink); }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--green { color: var(--green); }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400; /* Anton is display-weight, no need for bold */
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.display-xl  { font-size: clamp(3.2rem, 7vw, 6.5rem); }
.display-lg  { font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
.display-md  { font-size: clamp(2rem, 4vw, 3.4rem); }
.display-sm  { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.display-xl.cream, .display-lg.cream, .display-md.cream, .display-sm.cream { color: var(--cream); }
.display-xl.white, .display-lg.white, .display-md.white { color: var(--white); }
.display-xl.green, .display-lg.green, .display-md.green { color: var(--green); }
.display-xl .accent, .display-lg .accent, .display-md .accent, .display-sm .accent { color: var(--gold); }

/* Body text */
.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
}
.lead--white { color: rgba(255,255,255,0.72); }
.lead--cream { color: rgba(247,243,236,0.78); }

p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform var(--t) var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 28px rgba(201,151,44,0.38);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 28px rgba(45,106,79,0.38);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
}

/* ── NAV ────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-nav.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.site-nav.scrolled .nav-logo-text { color: var(--green-dark); }
.site-nav.scrolled .nav-link { color: var(--text-muted); }
.site-nav.scrolled .nav-link:hover { color: var(--green); }
.site-nav.scrolled .nav-burger span { background: var(--ink); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  transition: color var(--t);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--t);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }
.site-nav.scrolled .nav-link.active { color: var(--green); }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  padding: 24px 28px 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 199;
  border-top: 3px solid var(--gold);
}
.nav-mobile.open { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.nav-mobile a:hover { color: var(--green); }
.nav-mobile .btn { margin-top: 16px; justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--green-deep);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-brand-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 300px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
}
.footer-badge-pill {
  background: rgba(201,151,44,0.2);
  color: var(--gold-light);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.22); }
.footer-contact a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--t);
}
.footer-contact a:hover { color: var(--gold-light); }

/* ── PAGE HERO (shared shell) ───────────────────────────── */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22,56,41,0.4) 0%, var(--green-deep) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero .lead { color: rgba(255,255,255,0.68); max-width: 640px; }

/* ── TICKER ─────────────────────────────────────────────── */
.ticker-bar {
  background: var(--gold);
  padding: 0;
  overflow: hidden;
  height: 46px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  flex-shrink: 0;
}
.ticker-sep {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.3;
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STAT CARDS ─────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-block {
  padding: 36px 28px;
  border-right: 1px solid var(--border-dark);
  transition: background var(--t);
}
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: var(--green-pale); }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num .gold { color: var(--gold); }
.stat-label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(45,106,79,0.12);
  border-color: var(--green-light);
}
.card-img { height: 200px; overflow: hidden; background: var(--green-pale); }
.card-img img { transition: transform 0.5s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--green-pale);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.card-tag--gold { background: var(--gold-pale); color: var(--gold); }
.card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.05;
}
.card-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}
.card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ── DIVIDERS ───────────────────────────────────────────── */
.rule { width: 48px; height: 4px; background: var(--gold); border-radius: 2px; margin-bottom: 28px; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ── CHECKLIST ──────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; }
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-pale); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; font-size: 0.7rem; font-weight: 700;
}
.check-icon--gold { background: var(--gold-pale); color: var(--gold); }

/* ── PROCESS STEPS ──────────────────────────────────────── */
.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-row:last-child { border-bottom: none; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--green);
  flex-shrink: 0;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.step-row:hover .step-num {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.step-content-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-content-body { font-size: 0.875rem; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* ── QUOTE / PULL ───────────────────────────────────────── */
.pull-quote {
  border-left: 5px solid var(--gold);
  padding: 24px 28px;
  background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 400;
  text-transform: uppercase;
}
.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* ── TAG PILL ───────────────────────────────────────────── */
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.pill--green  { background: var(--green-pale); color: var(--green); }
.pill--gold   { background: var(--gold-pale);  color: var(--gold); }
.pill--dark   { background: var(--green); color: var(--white); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-top: 1px solid var(--border-dark); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .stat-strip { grid-template-columns: 1fr 1fr; border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .stat-block:last-child { border-bottom: none; }
  .display-xl { font-size: 2.6rem; }
}
