@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0a1f36;
  --navy2: #142f4d;
  --gold: #bfa15f;
  --gold-light: #dcc48a;
  --cream: #fdfcf8;
  --cream2: #f6f2e8;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e1d8;
  --white: #ffffff;
  --coop-red: #c41e3a;
  --coop-blue: #1e3a8a;
  --shadow: 0 4px 24px rgba(10,31,54,.10);
  --shadow-lg: 0 10px 40px rgba(10,31,54,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

html { overflow-x: hidden; }

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--coop-red);
  height: 112px;
  width: 100%;
  box-sizing: border-box;
}
nav .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
nav .logo-wrap img {
  height: 96px;
  width: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-light);
  box-shadow: 0 0 0 2px var(--coop-red), 0 2px 10px rgba(0,0,0,.4);
}
nav .logo-wrap span {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a.nav-link {
  color: #c8d4e0;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
nav a.nav-link:hover, nav a.nav-link.active { color: var(--coop-red); background: rgba(196,30,58,.08); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #c8d4e0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  padding: 80px 40px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coop-red), var(--coop-blue), var(--coop-red));
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.page-hero p { font-size: 1.05rem; color: #c8d4e0; max-width: 680px; margin: 0 auto; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 70px 40px; }
section.block { margin-bottom: 72px; }

/* ── HEADINGS ── */
h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  color: var(--navy);
  border-left: 5px solid var(--coop-red);
  padding-left: 16px;
  margin-bottom: 28px;
}

/* ── CARDS ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card h3 { font-family: 'Cormorant Garamond', serif; color: var(--navy); font-size: 1.25rem; margin-bottom: 8px; }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card-accent { border-top: 4px solid var(--coop-red); }

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 44px 40px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}
.stat-strip .stat h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--coop-red);
  line-height: 1;
}
.stat-strip .stat p { font-size: .85rem; color: #c8d4e0; margin-top: 4px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--coop-red); color: #fff; }
.btn-primary:hover { background: #a01830; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--coop-red); border: 2px solid var(--coop-red); }
.btn-outline:hover { background: var(--coop-red); color: #fff; }

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--navy); color: var(--white); font-weight: 500; }
tr:hover td { background: var(--cream2); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: #8fa3b8;
  text-align: center;
  padding: 36px 24px;
  font-size: .84rem;
  margin-top: 60px;
  border-top: 3px solid var(--coop-red);
  word-break: break-word;
}
footer strong { color: var(--gold-light); }

/* ── HERO WATERMARK ── */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  filter: grayscale(20%);
}

/* ── COOP ACCENT ── */
.coop-red { color: var(--coop-red); }
.coop-blue { color: var(--coop-blue); }
.border-coop-red { border-color: var(--coop-red) !important; }
.border-coop-blue { border-color: var(--coop-blue) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    padding: 0 16px;
    height: 80px;
  }
  nav .logo-wrap img { height: 60px; width: 60px; }
  nav .logo-wrap span { font-size: .82rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--navy);
    border-top: 2px solid var(--coop-red);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    z-index: 199;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .nav-links.open { display: flex; }
  nav a.nav-link {
    font-size: .9rem;
    padding: 12px 14px;
    border-radius: 6px;
    width: 100%;
    white-space: normal;
  }
  .nav-portal-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
    border-radius: 6px !important;
    font-size: .9rem !important;
    box-sizing: border-box !important;
  }
  .container { padding: 40px 16px; }
  .page-hero { padding: 50px 16px 40px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: .95rem; }
  .stat-strip { padding: 28px 16px; gap: 20px; }
  .stat-strip .stat h4 { font-size: 1.8rem; }
  h2.section-title { font-size: 1.6rem; }
  .grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 16px; }
  .cta-band h2 { font-size: 1.8rem; }
  footer { padding: 28px 16px; font-size: .8rem; }
}
