/* ── Civic Talks — Base Styles ─────────────────────────────────────────── */

:root {
  --ct-maroon: #5c1a2e;
  --ct-maroon-dark: #3e1020;
  --ct-maroon-light: #7a2340;
  --ct-gold: #d4940a;
  --ct-gold-light: #f0b429;
  --ct-white: #ffffff;
  --ct-off-white: #f9f6f4;
  --ct-text: #1a1a1a;
  --ct-text-muted: #6b6b6b;
  --ct-border: #e5e0dc;
  --ct-radius: 8px;
  --ct-radius-lg: 16px;
  --ct-shadow: 0 4px 24px rgba(92, 26, 46, 0.1);
  --ct-shadow-lg: 0 8px 40px rgba(92, 26, 46, 0.15);
  --ct-font-body: "Inter", sans-serif;
  --ct-font-display: "Playfair Display", serif;
  --ct-transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ct-font-body);
  color: var(--ct-text);
  background: var(--ct-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ──────────────────────────────────────────────────── */

.ct-gold {
  color: var(--ct-gold);
}

.ct-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct-gold);
  margin-bottom: 12px;
}

.ct-eyebrow.centered {
  text-align: center;
}

.centered {
  text-align: center;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-family: var(--ct-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-family: var(--ct-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ct-section-sub {
  color: var(--ct-text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.ct-section-sub.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── Badge ───────────────────────────────────────────────────────────────── */

.ct-badge {
  display: inline-block;
  background: var(--ct-gold);
  color: var(--ct-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.ct-badge-outline {
  background: transparent;
  border: 2px solid var(--ct-gold);
  color: var(--ct-gold);
}

.ct-badge-gold {
  background: var(--ct-gold);
  color: var(--ct-white);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--ct-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ct-transition);
  white-space: nowrap;
}

.ct-btn-gold {
  background: var(--ct-gold);
  color: var(--ct-white);
  border-color: var(--ct-gold);
}

.ct-btn-gold:hover {
  background: var(--ct-gold-light);
  border-color: var(--ct-gold-light);
}

.ct-btn-maroon {
  background: var(--ct-maroon);
  color: var(--ct-white);
  border-color: var(--ct-maroon);
}

.ct-btn-maroon:hover {
  background: var(--ct-maroon-light);
  border-color: var(--ct-maroon-light);
}

.ct-btn-outline {
  background: transparent;
  color: var(--ct-white);
  border-color: var(--ct-white);
}

.ct-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ct-btn-outline-dark {
  background: transparent;
  color: var(--ct-maroon);
  border-color: var(--ct-maroon);
}

.ct-btn-outline-dark:hover {
  background: var(--ct-maroon);
  color: var(--ct-white);
}

.ct-btn-full {
  width: 100%;
  margin-top: 12px;
}

/* ── Header / Nav ────────────────────────────────────────────────────────── */

.ct-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ct-white);
  border-bottom: 1px solid var(--ct-border);
  transition: box-shadow var(--ct-transition);
}

.ct-header.scrolled {
  box-shadow: var(--ct-shadow);
}

.ct-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.ct-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ct-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.ct-hero-card-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.ct-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ct-maroon);
  color: var(--ct-white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-logo-text {
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--ct-text);
}

.ct-logo-text strong {
  font-weight: 800;
  color: var(--ct-maroon);
}

.ct-logo-light .ct-logo-text {
  color: var(--ct-white);
}

.ct-logo-light .ct-logo-text strong {
  color: var(--ct-gold);
}

.ct-logo-light .ct-logo-icon {
  background: var(--ct-gold);
}

.ct-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ct-nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ct-text);
  transition: color var(--ct-transition);
}

.ct-nav-links a:hover {
  color: var(--ct-maroon);
}

.ct-nav-cta {
  flex-shrink: 0;
  padding: 9px 22px;
  font-size: 0.85rem;
}

.ct-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.ct-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ct-text);
  border-radius: 2px;
  transition: all var(--ct-transition);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.ct-footer {
  background: var(--ct-maroon-dark);
  color: var(--ct-white);
  padding-top: 64px;
}

.ct-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.ct-footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}

.ct-social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.ct-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--ct-transition);
}

.ct-social-links a:hover {
  border-color: var(--ct-gold);
  color: var(--ct-gold);
}

.ct-footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ct-white);
  margin-bottom: 20px;
}

.ct-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--ct-transition);
}

.ct-footer-links a:hover {
  color: var(--ct-white);
}

.ct-footer-newsletter h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ct-white);
  margin-bottom: 8px;
}

.ct-footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.ct-newsletter-form {
  display: flex;
  gap: 8px;
}

.ct-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--ct-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ct-white);
  font-size: 0.85rem;
  font-family: var(--ct-font-body);
  outline: none;
  transition: border-color var(--ct-transition);
}

.ct-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ct-newsletter-form input:focus {
  border-color: var(--ct-gold);
}

.ct-newsletter-form .ct-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.ct-footer-cisd {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.ct-footer-cisd a {
  color: var(--ct-gold);
  text-decoration: underline;
}

.ct-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-footer-bottom-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 48px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.ct-footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.ct-footer-bottom-links {
  display: flex;
  gap: 24px;
}

.ct-footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--ct-transition);
}

.ct-footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Toast Notification ──────────────────────────────────────────────────── */

.ct-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ct-maroon-dark);
  color: var(--ct-white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}

.ct-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.ct-toast--success {
  background: #1a3d2b;
  border-left: 4px solid #2ecc71;
}

.ct-toast--error {
  background: #3d1a1a;
  border-left: 4px solid #e74c3c;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .ct-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ct-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ct-border);
    gap: 16px;
    box-shadow: var(--ct-shadow);
  }

  .ct-nav-links.open {
    display: flex;
  }

  .ct-header {
    position: relative;
  }

  .ct-hamburger {
    display: flex;
  }

  .ct-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .ct-newsletter-form {
    flex-direction: column;
  }
}
