@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Black+Ops+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
:root {
  --forest: #0e2417;
  --forest-2: #173a26;
  --forest-3: #1f4a30;
  --cream: #f9f4e9;
  --cream-2: #f1ead8;
  --ink: #15231a;
  --gold: #c8963d;
  --gold-light: #e6c07d;
  --terracotta: #b8532f;
  --line: rgba(20, 40, 28, 0.12);

  /* Impact dashboard palette (theme-matched) */
  --impact-orange: var(--gold-light);
  --impact-orange-2: var(--gold);
  --impact-orange-ink: #4a340f;
  --impact-blue: var(--forest);
  --impact-blue-2: var(--forest-2);
  --impact-green: var(--forest-3);
  --impact-green-2: #2f6b47;

  --ink-soft: rgba(21, 35, 26, 0.62);
  --panel: var(--cream);
  --panel-2: var(--cream-2);

  /* Theme-aware aliases (shared with the rest of the site) */
  --bg: var(--cream);
  --bg-2: var(--cream-2);
  --fg: var(--ink);
  --fg-muted: var(--ink-soft);
  --card: #ffffff;
  --header-bg: rgba(249, 244, 233, 0.9);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0f1c15;
  --bg-2: #1f342a;
  --fg: #eef2ec;
  --fg-muted: #a7b7ab;
  --card: #182a20;
  --panel: #182a20;
  --panel-2: #1f342a;
  --line: rgba(249, 244, 233, 0.14);
  --header-bg: rgba(15, 28, 21, 0.85);
  color-scheme: dark;
}
html,
body {
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", sans-serif;
  overflow-x: clip;
}

/* ---------- NAV (shared across the site) ---------- */
a {
  color: inherit;
  text-decoration: none;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 26px;
  padding: 10px 28px;
  max-width: 1320px;
  min-height: 72px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}
.logo-mark {
  width: 250%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 0;
  list-style: none;
}
.nav-links a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.025em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links li {
  position: relative;
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}
.nav-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  background: var(--forest);
  color: var(--cream);
  border: none;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.nav-cta .btn-primary:hover {
  background: #0a1c11;
  transform: translateY(-2px);
}
[data-theme="dark"] .nav-cta .btn-primary:hover {
  background: #ffffff;
  color: var(--forest);
}
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
.theme-toggle:hover {
  background: var(--bg-2);
}
.theme-toggle i {
  position: absolute;
  font-size: 0.95rem;
  color: var(--fg);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.3s ease;
}
.theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}
.theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold);
}
[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold-light);
}
.mobile-cta {
  display: none;
}
.mobile-menu-brand,
.mobile-menu-foot {
  display: none;
}
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle .toggle-africa {
  font-size: 1.3rem;
  color: var(--fg);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-toggle .bar {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-toggle .bar.b1 {
  transform: rotate(0deg) scale(0.5);
}
.nav-toggle .bar.b2 {
  transform: rotate(0deg) scale(0.5);
}
.nav-toggle.open .toggle-africa {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
.nav-toggle.open .bar {
  opacity: 1;
}
.nav-toggle.open .bar.b1 {
  transform: rotate(45deg) scale(1);
}
.nav-toggle.open .bar.b2 {
  transform: rotate(-45deg) scale(1);
}

@media (max-width: 980px) {
  header {
    position: static;
    backdrop-filter: none;
  }
  nav {
    padding: 8px 20px;
    column-gap: 14px;
    min-height: 64px;
  }
  .logo-mark {
    width: 230%;
  }
  .nav-toggle {
    display: flex;
    z-index: 210;
  }
  .nav-cta {
    gap: 0;
    position: relative;
    z-index: 210;
  }
  .nav-cta .btn-primary {
    display: none;
  }
  #navLinks {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    padding: 88px 28px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease,
      visibility 0.4s ease;
    will-change: transform, opacity;
    z-index: 200;
    box-shadow:
      -18px 0 55px rgba(0, 0, 0, 0.18),
      0 0 0 100vmax rgba(0, 0, 0, 0.38);
  }
  #navLinks.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  #navLinks li {
    position: static;
    width: 100%;
  }
  #navLinks > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 2px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  #navLinks > li > a.active {
    color: var(--gold);
  }
  /* Mobile menu brand */
  .mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--hairline);
  }

  .mobile-menu-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }

  .mobile-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-brand-name {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fg);
  }

  .mobile-brand-tagline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
  }

  .mobile-brand-tagline b:nth-child(2) {
    color: #d3a14a;
    font-weight: 700;
  }
  .mobile-cta {
    display: block !important;
    margin: 20px 0 8px;
  }
  .mobile-cta .btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    background: var(--forest);
    color: var(--cream);
    border: none;
  }
  .mobile-menu-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .mobile-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--fg);
    cursor: pointer;
    flex: 0 0 40px;
  }
  .mobile-theme-toggle i {
    position: absolute;
    font-size: 1rem;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
  .mobile-theme-toggle .icon-sun {
    opacity: 1;
  }
  .mobile-theme-toggle .icon-moon {
    opacity: 0;
  }
  [data-theme="dark"] .mobile-theme-toggle .icon-sun {
    opacity: 0;
  }
  [data-theme="dark"] .mobile-theme-toggle .icon-moon {
    opacity: 1;
  }
  .mobile-theme-toggle {
    display: none;
  }
  .mmf-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.85;
  }
  .mmf-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mmf-links {
    display: flex;
    gap: 10px;
  }
  .social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
  }
}

/* ---------- COMMITMENT BOARD HERO ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", sans-serif;
  overflow-x: clip;
}

.cb-hero {
  padding: 72px 24px 0;
  text-align: center;
  overflow: hidden;
}
.cb-eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 18px;
}
.cb-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 auto 16px;
  max-width: 720px;
}
.cb-hero h1 .serif-line {
  display: block;
  font-family: "Cormorant Garamond", "Space Grotesk", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--fg-muted);
  letter-spacing: 0;
  margin-bottom: 4px;
}
.cb-hero h1 .bold-line {
  display: block;
  font-size: clamp(30px, 5vw, 48px);
  color: var(--fg);
}
.cb-hero p.sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 460px;
  margin: 0 auto 32px;
}
.cb-hero .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--forest);
  color: var(--cream);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.cb-hero .btn-cta i {
  font-size: 0.8rem;
}
.cb-hero .btn-cta:hover {
  background: #0a1c11;
  transform: translateY(-2px);
}
[data-theme="dark"] .cb-hero .btn-cta:hover {
  background: #ffffff;
  color: var(--forest);
}

/* ---- photo fan ---- */
.cb-fan-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  overflow: hidden;
  padding: 8px 24px 0;
}
.cb-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.cb-fan-card {
  flex: 0 0 auto;
  width: 130px;
  aspect-ratio: 0.72;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(14, 36, 23, 0.2);
  transition: transform 0.3s ease;
}
.cb-fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cb-fan-card.peek {
  width: 96px;
  opacity: 0.5;
}
.cb-fan-card:nth-child(1) {
  transform: rotate(-16deg) translateY(64px);
}
.cb-fan-card:nth-child(2) {
  transform: rotate(-11deg) translateY(30px);
}
.cb-fan-card:nth-child(3) {
  transform: rotate(-6deg) translateY(8px);
}
.cb-fan-card:nth-child(4) {
  transform: rotate(-2deg) translateY(-4px);
}
.cb-fan-card:nth-child(5) {
  transform: translateY(-8px);
}
.cb-fan-card:nth-child(6) {
  transform: rotate(2deg) translateY(-4px);
}
.cb-fan-card:nth-child(7) {
  transform: rotate(6deg) translateY(8px);
}
.cb-fan-card:nth-child(8) {
  transform: rotate(11deg) translateY(30px);
}
.cb-fan-card:nth-child(9) {
  transform: rotate(16deg) translateY(64px);
}

/* ---- value props row ---- */
.cb-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 56px auto 0;
  padding: 32px 0 64px;
  border-top: 1px solid var(--line);
}
.cb-value h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg);
}
.cb-value p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}

/* ---- still-building note ---- */
.cb-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.cb-note i {
  color: var(--gold);
}

@media (max-width: 860px) {
  .cb-fan-wrap {
    padding: 0;
    height: 320px;
    margin-top: 0;
  }
  .cb-fan {
    position: relative;
    height: 100%;
    gap: 0;
    max-width: none;
  }
  .cb-fan-card {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 92px;
    min-height: 128px;
    transform-origin: center 360px;
  }
  .cb-fan-card.peek {
    display: block;
    width: 92px;
    opacity: 0.55;
  }
  .cb-fan-card,
  .cb-fan-card:hover {
    transition: none !important;
  }
  .cb-fan-card:nth-child(1) {
    transform: translateX(-50%) rotate(-80deg);
  }
  .cb-fan-card:nth-child(2) {
    transform: translateX(-50%) rotate(-60deg);
  }
  .cb-fan-card:nth-child(3) {
    transform: translateX(-50%) rotate(-40deg);
  }
  .cb-fan-card:nth-child(4) {
    transform: translateX(-50%) rotate(-20deg);
  }
  .cb-fan-card:nth-child(5) {
    transform: translateX(-50%) rotate(0deg);
  }
  .cb-fan-card:nth-child(6) {
    transform: translateX(-50%) rotate(20deg);
  }
  .cb-fan-card:nth-child(7) {
    transform: translateX(-50%) rotate(40deg);
  }
  .cb-fan-card:nth-child(8) {
    transform: translateX(-50%) rotate(60deg);
  }
  .cb-fan-card:nth-child(9) {
    transform: translateX(-50%) rotate(80deg);
  }
  .cb-values {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
}
/* ==================================================
         COMMITMENT WALL — notice board / scrapbook layout
         ================================================== */
.cw-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.cw-reveal.cw-in {
  opacity: 1;
  transform: translateY(0);
}
.cw-cards .cw-card:nth-child(1) {
  transition-delay: 0.05s;
}
.cw-cards .cw-card:nth-child(2) {
  transition-delay: 0.16s;
}
.cw-cards .cw-card:nth-child(3) {
  transition-delay: 0.27s;
}
@keyframes cwTwinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1) rotate(var(--star-rot, 0deg));
  }
  50% {
    opacity: 1;
    transform: scale(1.18) rotate(var(--star-rot, 0deg));
  }
}
.cw-doodle-star {
  animation: cwTwinkle 3.2s ease-in-out infinite;
}
.cw-doodle-star.d1 {
  --star-rot: 12deg;
  animation-delay: 0s;
}
.cw-doodle-star.d2 {
  --star-rot: -10deg;
  animation-delay: 1.1s;
}
.cw-scribble path,
.cw-cta-arrow path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.1s ease;
}
.cw-in .cw-scribble path,
.cw-in .cw-cta-arrow path {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .cw-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cw-doodle-star {
    animation: none;
  }
  .cw-scribble path,
  .cw-cta-arrow path {
    stroke-dashoffset: 0;
    transition: none;
  }
  .cw-progress-fill {
    transition: none;
  }
}
.cw-board {
  position: relative;
  background: var(--bg);
  background-image: radial-gradient(
    circle at 1px 1px,
    var(--line) 1px,
    transparent 0
  );
  background-size: 22px 22px;
  padding: 56px 24px 80px;
}
[data-theme="dark"] .cw-board {
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(249, 244, 233, 0.06) 1px,
    transparent 0
  );
}

.cw-header {
  max-width: 1100px;
  margin: 0 auto 48px;
  position: relative;
}
.cw-title-wrap {
  display: inline-block;
  position: relative;
  transform: rotate(-0.4deg);
}
.cw-tape {
  position: absolute;
  top: -14px;
  left: 38px;
  width: 92px;
  height: 30px;
  background: rgba(200, 150, 61, 0.55);
  border: 1px solid rgba(200, 150, 61, 0.3);
  transform: rotate(-3deg);
  box-shadow: 0 3px 6px rgba(14, 36, 23, 0.12);
}
.cw-tape.tape-2 {
  left: auto;
  right: 30px;
  top: -12px;
  transform: rotate(3deg);
  background: rgba(184, 83, 47, 0.4);
  border-color: rgba(184, 83, 47, 0.25);
}
.cw-title-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px 14px 6px 16px;
  padding: 34px 44px 30px;
  box-shadow: 0 16px 34px rgba(14, 36, 23, 0.14);
}
.cw-title-card h1 {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 50px);
  color: var(--forest);
  margin: 0;
  letter-spacing: -0.01em;
}
.cw-scribble {
  display: block;
  width: 220px;
  max-width: 60%;
  height: 12px;
  margin-top: 4px;
  color: var(--gold);
  opacity: 0.85;
}
[data-theme="dark"] .cw-title-card h1 {
  color: var(--gold-light);
}
.cw-doodle-star {
  position: absolute;
  color: var(--gold);
  opacity: 0.8;
}
.cw-doodle-star.d1 {
  top: -10px;
  right: -18px;
  width: 30px;
  height: 30px;
  transform: rotate(12deg);
}
.cw-doodle-star.d2 {
  bottom: -16px;
  left: -14px;
  width: 20px;
  height: 20px;
  color: var(--terracotta);
  opacity: 0.6;
  transform: rotate(-10deg);
}
.cw-clip {
  position: absolute;
  width: 22px;
  height: 54px;
  color: var(--fg-muted);
  opacity: 0.75;
  filter: drop-shadow(0 2px 3px rgba(14, 36, 23, 0.2));
}
.cw-clip.clip-left {
  top: 14px;
  left: -10px;
  transform: rotate(-8deg);
}
.cw-clip.clip-right {
  top: 14px;
  right: -10px;
  transform: rotate(8deg) scaleX(-1);
}
.cw-clip.clip-small {
  width: 15px;
  height: 36px;
  top: -8px;
  left: 18px;
  right: auto;
  transform: rotate(-6deg);
}

.cw-subtitle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
}
.cw-note {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 3px;
  padding: 18px 24px;
  max-width: 560px;
  transform: rotate(0.2deg);
  box-shadow: 0 8px 18px rgba(14, 36, 23, 0.08);
}
.cw-note p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--fg);
}

.cw-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}
.cw-tabs {
  max-width: 1100px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cw-tab {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--fg-muted);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.cw-tab:hover {
  color: var(--fg);
}
.cw-tab.active {
  background: var(--forest);
  color: var(--cream);
}
.cw-tab-divider {
  flex: 1;
  position: relative;
  height: 1px;
  background: var(--line);
}
.cw-tab-divider span {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-family: "Inter", sans-serif;
}
.cw-tab-panel {
  max-width: 1100px;
  margin: 32px auto 0;
}
.cw-tab-panel[data-panel="impact"] {
  max-width: 1420px;
}
.cw-tab-panel[hidden] {
  display: none;
}
.cw-empty {
  text-align: center;
  max-width: 400px;
  margin: 48px auto 64px;
  padding: 40px 24px;
}
.cw-board-empty {
  position: relative;
  text-align: center;
  max-width: 460px;
  margin: 20px auto 64px;
  padding: 48px 32px 42px;
  background: var(--card);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
}
.cw-board-empty-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  opacity: 0.7;
  margin: 0 auto 20px;
}
.cw-board-empty h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--fg);
  margin: 0 0 10px;
}
.cw-board-empty p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ---- status filter (colored-pill dropdown) ---- */
.cw-status-filter {
  position: relative;
  z-index: 20;
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: flex-end;
}
.cw-status-dropdown {
  position: relative;
}
.cw-status-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--fg-muted);
}
.cw-status-trigger i.cw-status-chevron {
  font-size: 0.72rem;
  color: var(--fg-muted);
  transition: transform 0.2s ease;
}
.cw-status-dropdown.cw-dropdown-open .cw-status-trigger i.cw-status-chevron {
  transform: rotate(180deg);
}
.cw-status-trigger-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  flex-shrink: 0;
}
.cw-status-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 210px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  padding: 8px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}
.cw-status-dropdown.cw-dropdown-open .cw-status-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cw-status-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 2px;
  transition: filter 0.15s ease;
}
.cw-status-option:last-child {
  margin-bottom: 0;
}
.cw-status-option:hover {
  filter: brightness(0.96);
}
[data-theme="dark"] .cw-status-option:hover {
  filter: brightness(1.15);
}
.cw-status-option i {
  font-size: 0.82rem;
  width: 16px;
  text-align: center;
}
.cw-status-option.cw-status-all {
  background: var(--bg-2);
  color: var(--fg-muted);
}
.cw-status-option.cw-status-active {
  background: rgba(200, 150, 61, 0.16);
  color: #8a651f;
}
[data-theme="dark"] .cw-status-option.cw-status-active {
  color: var(--gold-light);
}
.cw-status-option.cw-status-finished {
  background: rgba(46, 125, 79, 0.16);
  color: #2e7d4f;
}
[data-theme="dark"] .cw-status-option.cw-status-finished {
  color: #7fd8a0;
}
.cw-status-option.cw-status-selected {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.cw-empty-icon {
  width: 44px;
  height: 44px;
  color: var(--fg-muted);
  opacity: 0.5;
  margin: 0 auto 18px;
}
.cw-empty p {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  margin: 0 0 8px;
}
.cw-empty span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--fg-muted);
}

/* ==================================================
         IMPACT DASHBOARD
         ================================================== */
.cw-impact {
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
  padding: 32px 32px 28px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 640px) {
  .cw-impact {
    padding: 22px 16px 20px;
    border-radius: 18px;
  }
  .cw-impact-card {
    padding: 18px;
  }
}

/* ---- ambient dotted-globe watermark behind the whole dashboard ---- */
.cw-impact-globe-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.cw-impact-globe-bg svg {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 880px;
  height: 880px;
  max-width: none;
  transform: translateY(-50%);
  animation: cwGlobeSpin 90s linear infinite;
  opacity: 0.55;
}
[data-theme="dark"] .cw-impact-globe-bg svg {
  opacity: 0.35;
}
@media (max-width: 1200px) {
  .cw-impact-globe-bg svg {
    width: 640px;
    height: 640px;
    right: -12%;
  }
}
@media (max-width: 980px) {
  .cw-impact-globe-bg svg {
    width: 480px;
    height: 480px;
    right: -20%;
    opacity: 0.35;
  }
}

/* ============================================================
         Layout: one full-width row of orange stat cards, then a wide
         blue "graphs" panel + a green "piechart" panel below it
         ============================================================ */
.cw-impact-row1 {
  margin-bottom: 20px;
}
.cw-impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cw-impact-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cw-impact-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cw-impact-stat-icon.cw-icon-gold {
  background: linear-gradient(160deg, var(--gold-light), var(--gold));
  color: var(--impact-orange-ink);
}
.cw-impact-stat-icon.cw-icon-green {
  background: linear-gradient(
    160deg,
    var(--impact-green-2),
    var(--impact-green)
  );
  color: var(--cream);
}
.cw-impact-stat-icon.cw-icon-terracotta {
  background: linear-gradient(160deg, #cf6b41, var(--terracotta));
  color: var(--cream);
}
.cw-impact-stat-icon.cw-icon-forest {
  background: linear-gradient(160deg, var(--impact-blue-2), var(--impact-blue));
  color: var(--cream);
}
.cw-impact-stat-icon i {
  font-size: 1.1rem;
}
.cw-impact-stat-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.cw-impact-stat-toprow {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cw-impact-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--impact-green-2);
}
[data-theme="dark"] .cw-impact-stat-badge {
  color: #8fd6ab;
}
.cw-impact-stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
}
.cw-impact-stat span.cw-impact-stat-label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
@media (max-width: 980px) {
  .cw-impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cw-impact-stats {
    grid-template-columns: 1fr;
  }
}

.cw-impact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  min-width: 0;
}
.cw-impact-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 2px;
}
.cw-impact-card p.cw-impact-card-sub {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin: 0 0 18px;
}

/* ---- "graphs" panel: blue ---- */
.cw-impact-card-blue {
  background: linear-gradient(160deg, var(--impact-blue-2), var(--impact-blue));
  border-color: transparent;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.cw-impact-card-blue h4 {
  color: var(--cream);
}
.cw-impact-card-blue p.cw-impact-card-sub {
  color: rgba(249, 244, 233, 0.65);
}
.cw-impact-card-blue .cw-line-labels span,
.cw-impact-card-blue .cw-chart-label {
  color: rgba(249, 244, 233, 0.55);
}
.cw-impact-card-blue .cw-line-stats {
  border-top-color: rgba(249, 244, 233, 0.18);
}
.cw-impact-card-blue .cw-line-stat b {
  color: var(--cream);
}
.cw-impact-card-blue .cw-line-stat span {
  color: rgba(249, 244, 233, 0.6);
}
.cw-impact-card-blue .cw-line-badge {
  background: rgba(249, 244, 233, 0.16);
  color: var(--gold-light);
}

/* ---- "piechart" panel: green ---- */
.cw-impact-card-green {
  background: linear-gradient(
    160deg,
    var(--impact-green-2),
    var(--impact-green)
  );
  border-color: transparent;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.cw-impact-card-green h4 {
  color: var(--cream);
}
.cw-impact-card-green p.cw-impact-card-sub {
  color: rgba(249, 244, 233, 0.7);
}
.cw-impact-card-green .cw-donut-text b {
  color: var(--cream);
}
.cw-impact-card-green .cw-donut-text span {
  color: rgba(249, 244, 233, 0.65);
}
.cw-impact-card-green .cw-donut-legend-item span {
  color: rgba(249, 244, 233, 0.75);
}
.cw-impact-card-green .cw-donut-legend-item.cw-legend-active span {
  color: var(--cream);
}
.cw-impact-card-green .cw-donut-track {
  stroke: rgba(249, 244, 233, 0.18);
}

/* ---- row 2: compact stat + donut + top-networks list ---- */
.cw-impact-row2 {
  display: grid;
  grid-template-columns: 0.8fr 1.05fr 1.15fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ---- row 3: full-width commitments-over-time chart ---- */
.cw-impact-row3 {
  margin-bottom: 20px;
}

/* ---- compact stat card (e.g. "This Month") ---- */
.cw-impact-card-compact {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.cw-compact-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.cw-compact-stat .cw-impact-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.cw-compact-stat .cw-impact-stat-icon i {
  font-size: 1.3rem;
}
.cw-compact-stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
}
.cw-compact-stat span.cw-impact-stat-label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ---- top-networks ranked list (mirrors a "top sellers" list) ---- */
.cw-impact-card-list {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.cw-toplist {
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
  justify-content: center;
}
.cw-toplist-item {
  display: grid;
  grid-template-columns: minmax(0, 92px) 1fr auto;
  align-items: center;
  gap: 10px;
}
.cw-toplist-name {
  font-size: 0.75rem;
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cw-toplist-track {
  height: 8px;
  border-radius: 100px;
  background: var(--bg-2);
  overflow: hidden;
}
.cw-toplist-bar {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transition: width 0.8s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.cw-toplist-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg);
  text-align: right;
  white-space: nowrap;
}
.cw-toplist-empty {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
  margin: auto 0;
}
.cw-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
}
.cw-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.cw-chart-bar {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
  height: 4px;
  transition: height 0.8s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.cw-chart-label {
  font-size: 0.68rem;
  color: var(--fg-muted);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
}

.cw-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cw-ring {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 4px 0 14px;
}
.cw-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.cw-ring-track {
  fill: none;
  stroke: var(--bg-2);
  stroke-width: 10;
}
.cw-ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.cw-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}
.cw-ring-caption {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.4;
}

/* ---- smooth line/area chart ---- */
.cw-line-chart-wrap {
  position: relative;
}
.cw-line-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(200, 150, 61, 0.14);
  padding: 5px 11px;
  border-radius: 100px;
}
.cw-line-svg {
  width: 100%;
  height: 150px;
  display: block;
  overflow: visible;
}
.cw-impact-card-blue .cw-line-chart-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}
.cw-impact-card-blue .cw-line-svg {
  height: 220px;
}
.cw-impact-card-blue .cw-line-stats {
  margin-top: auto;
}
.cw-line-path {
  fill: none;
  stroke: url(#cwLineGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.cw-area-path {
  fill: url(#cwAreaGradient);
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}
.cw-line-chart-wrap.cw-line-in .cw-line-path {
  stroke-dashoffset: 0;
}
.cw-line-chart-wrap.cw-line-in .cw-area-path {
  opacity: 1;
}
.cw-line-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
}
.cw-line-labels span {
  font-size: 0.68rem;
  color: var(--fg-muted);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
}
.cw-line-stats {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cw-line-stat b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
}
.cw-line-stat b i {
  font-size: 0.7rem;
  color: var(--gold);
}
.cw-line-stat span {
  display: block;
  font-size: 0.74rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ---- donut chart (network breakdown) ---- */
.cw-donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.cw-donut {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}
.cw-donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.cw-donut-segment {
  fill: none;
  stroke-width: 16;
  transition:
    stroke-width 0.2s ease,
    opacity 0.2s ease;
  cursor: pointer;
}
.cw-donut:has(.cw-donut-segment:hover) .cw-donut-segment:not(:hover) {
  opacity: 0.35;
}
.cw-donut-segment:hover {
  stroke-width: 19;
}
.cw-donut-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.cw-donut-text b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
}
.cw-donut-text span {
  font-size: 0.62rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.cw-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.cw-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
}
.cw-donut-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cw-donut-legend-item span {
  font-size: 0.76rem;
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.cw-donut-legend-item.cw-legend-active span {
  color: var(--fg);
  font-weight: 600;
}

/* ---- rotating globe panel (permanently dark, tall, right column) ---- */
.cw-globe-panel {
  position: relative;
  background: #0a1610;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.cw-globe-panel h4 {
  position: relative;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 2px;
}
.cw-globe-panel p.cw-impact-card-sub {
  position: relative;
  z-index: 2;
  color: rgba(249, 244, 233, 0.55);
}
.cw-globe-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.cw-globe-sphere {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #23402f,
    #0e1f16 60%,
    #060f0a 100%
  );
  box-shadow:
    inset -12px -12px 30px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(230, 192, 125, 0.08);
  overflow: hidden;
}
.cw-globe-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: cwGlobeSpin 14s linear infinite;
}
@keyframes cwGlobeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.cw-globe-rim {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(230, 192, 125, 0.3);
  pointer-events: none;
}
.cw-globe-glow {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px 3px rgba(230, 192, 125, 0.7);
  animation: cwGlobeGlowPulse 2.4s ease-in-out infinite;
}
@keyframes cwGlobeGlowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}
.cw-globe-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(249, 244, 233, 0.5);
  margin-top: 12px;
}
.cw-globe-caption b {
  color: var(--gold-light);
}

@media (max-width: 980px) {
  .cw-impact-row2 {
    grid-template-columns: 1fr;
  }
  .cw-impact-card-blue {
    min-height: 300px;
  }
  .cw-impact-card-green,
  .cw-impact-card-compact,
  .cw-impact-card-list {
    min-height: 280px;
  }
}
@media (max-width: 480px) {
  .cw-donut-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .cw-donut {
    margin: 0 auto;
  }
  .cw-donut-legend {
    width: 100%;
  }
}
.cw-stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 22px;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 8px 18px rgba(14, 36, 23, 0.1);
}
.cw-stat-card:nth-child(1) {
  transform: rotate(-0.6deg);
}
.cw-stat-card:nth-child(2) {
  transform: rotate(0.4deg);
}
.cw-stat-card:nth-child(3) {
  transform: rotate(-0.3deg);
}
.cw-stat-card b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
}
.cw-stat-card span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.cw-preview-label {
  max-width: 1100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cw-preview-label span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.cw-preview-label .line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.cw-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 42px 28px;
}
.cw-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px 24px;
  box-shadow: 0 18px 32px rgba(14, 36, 23, 0.14);
}
.cw-card:nth-child(1) {
  transform: rotate(-0.5deg);
}
.cw-card:nth-child(2) {
  transform: rotate(0.35deg);
}
.cw-card:nth-child(3) {
  transform: rotate(-0.3deg);
}
.cw-card:hover {
  transform: rotate(0deg) translateY(-4px);
  transition: transform 0.25s ease;
}
.cw-pin {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--terracotta), #7a3016);
  box-shadow: 0 3px 5px rgba(14, 36, 23, 0.3);
}
.cw-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.cw-card-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest);
}
[data-theme="dark"] .cw-card-logo {
  color: var(--gold-light);
}
.cw-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.cw-card-org-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--fg);
  margin: 0 0 4px;
  line-height: 1.2;
}
.cw-card-org h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg-muted);
  line-height: 1.3;
}
.cw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cw-tag {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--fg-muted);
  border: 1px solid var(--line);
}
.cw-card-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--gold-light);
}
.cw-card-list li {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.cw-card-update {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.cw-card-update-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 0 0 18px;
}

.cw-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cw-progress-row span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.cw-progress-row b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  color: var(--forest);
}
[data-theme="dark"] .cw-progress-row b {
  color: var(--gold-light);
}
.cw-progress-track {
  height: 6px;
  border-radius: 100px;
  background: var(--bg-2);
  overflow: hidden;
}
.cw-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transition: width 1.1s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.cw-progress-fill.cw-fill-in {
  width: var(--target-width);
}
.cw-card-date {
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--fg-muted);
}

.cw-cta {
  max-width: 1100px;
  margin: 64px auto 0;
}
.cw-cta-card {
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 36px 40px;
  background: var(--forest);
  border-radius: 18px;
  box-shadow: 0 26px 50px rgba(14, 36, 23, 0.28);
  overflow: hidden;
}
.cw-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(249, 244, 233, 0.14) 1px,
    transparent 0
  );
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}
.cw-cta-arrow {
  position: relative;
  display: block;
  width: 54px;
  margin: 0 auto 6px;
  color: var(--gold-light);
  opacity: 0.85;
  transform: rotate(-6deg);
}
.cw-cta-card h2 {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cream);
  margin: 0 0 10px;
  line-height: 1.25;
}
.cw-cta-card p {
  position: relative;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: rgba(249, 244, 233, 0.7);
  max-width: 400px;
  margin: 0 auto 26px;
  line-height: 1.5;
}
.cw-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--gold);
  color: var(--forest);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.cw-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.cw-cta-status {
  position: relative;
  margin: 16px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    max-height 0.4s ease;
}
.cw-cta-status.cw-status-visible {
  opacity: 1;
  max-height: 40px;
  margin-top: 16px;
}

/* ============================================
   SEE MORE BUTTON — styling
   ============================================ */
.cw-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
}
.cw-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--fg);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.cw-load-more-btn:hover {
  background: var(--bg-2);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.cw-load-more-btn i {
  font-size: 0.76rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.cw-load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 640px) {
  .cw-title-card {
    padding: 26px 24px 22px;
  }
  .cw-subtitle-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cw-card,
  .cw-card:nth-child(2),
  .cw-card:nth-child(3) {
    transform: none;
  }
}
/* ============================================================
       FOOTER
       ============================================================ */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
footer {
  background: var(--forest);
  color: rgba(249, 244, 233, 0.8);
  padding: 0 0 30px;
  position: relative;
}
.skyline {
  position: relative;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #d99a4e 0%, var(--forest) 78%);
}
.skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 36, 23, 0) 55%,
    rgba(14, 36, 23, 0.35) 100%
  );
  pointer-events: none;
}
.building {
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0a1c11, #133023);
  border-top: 1px solid rgba(230, 192, 125, 0.12);
  border-radius: 3px 3px 0 0;
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 10%,
    #000 26%,
    #000 100%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 10%,
    #000 26%,
    #000 100%
  );
}
.building .window {
  position: absolute;
  width: 6px;
  height: 8px;
  border-radius: 1px;
  background: var(--gold-light);
  opacity: 0.15;
  animation: winkle 4.5s ease-in-out infinite;
}
@keyframes winkle {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.95;
  }
}
.foot-top-spacer {
  padding-top: 56px;
}
.foot-brand-center {
  text-align: center;
  margin-bottom: 40px;
}
.footer-logo-mark {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(230, 192, 125, 0.3),
    0 22px 44px rgba(0, 0, 0, 0.4);
}
.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.foot-tagline {
  font-size: 0.9rem;
  color: rgba(249, 244, 233, 0.55);
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.6;
}
.foot-mini-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: "Barlow Condensed";
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 244, 233, 0.72);
}
.foot-mini-nav a:hover {
  color: var(--gold-light);
}
.foot-divider {
  height: 1px;
  background: rgba(249, 244, 233, 0.12);
  margin: 36px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.foot-col h4 {
  font-family: "Barlow Condensed";
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.foot-col li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.foot-col a:hover {
  color: var(--cream);
}
.social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(249, 244, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.social-row a:hover {
  background: rgba(249, 244, 233, 0.1);
}
.social-row i {
  font-size: 0.78rem;
  color: var(--cream);
}
.foot-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding-top: 8px;
  font-size: 0.8rem;
  color: rgba(249, 244, 233, 0.45);
}
.foot-legal {
  display: flex;
  gap: 18px;
}
.foot-legal a:hover {
  color: var(--cream);
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ==================================================
         COMMITMENT FORM MODAL — multi-step wizard
         ================================================== */
.cw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 12, 0.62);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.cw-modal-overlay.cw-modal-open {
  opacity: 1;
  visibility: visible;
}
.cw-modal {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: var(--card);
  border-radius: 22px;
  padding: 40px 40px 36px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.28, 1);
  overflow: hidden;
}
.cw-modal-overlay.cw-modal-open .cw-modal {
  transform: translateY(0) scale(1);
}
.cw-modal::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 150, 61, 0.16),
    transparent 70%
  );
  pointer-events: none;
}
.cw-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg);
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.cw-modal-close:hover {
  background: var(--forest);
  color: var(--cream);
}

/* ---- step progress indicator ---- */
.cw-steps {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 4px 0 30px;
}
.cw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}
.cw-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.cw-step-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.cw-step-line {
  width: 56px;
  height: 1.5px;
  background: var(--line);
  margin: 0 6px 22px;
  flex: 0 0 auto;
  transition: background 0.25s ease;
}
.cw-step.cw-step-active .cw-step-dot {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.cw-step.cw-step-active .cw-step-label {
  color: var(--forest);
}
[data-theme="dark"] .cw-step.cw-step-active .cw-step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}
[data-theme="dark"] .cw-step.cw-step-active .cw-step-label {
  color: var(--gold-light);
}
.cw-step.cw-step-done .cw-step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}
.cw-step.cw-step-done .cw-step-dot i {
  font-size: 0.7rem;
}
.cw-step-line.cw-step-line-done {
  background: var(--gold);
}

.cw-modal-eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
  text-align: center;
}
.cw-modal h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--fg);
  margin: 0 0 6px;
  line-height: 1.25;
  text-align: center;
}
.cw-modal-sub {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 28px;
  text-align: center;
}

/* ---- step panels ---- */
.cw-step-panel {
  display: none;
}
.cw-step-panel.cw-step-panel-active {
  display: block;
  animation: cwStepIn 0.35s ease;
}
@keyframes cwStepIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- circular photo upload ---- */
.cw-photo-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 26px;
}
.cw-photo-circle {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(200, 150, 61, 0.35);
  overflow: hidden;
  transition: transform 0.2s ease;
}
.cw-photo-circle:hover {
  transform: scale(1.04);
}
.cw-photo-circle i {
  font-size: 26px;
  color: var(--forest);
}
.cw-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.cw-photo-circle.cw-has-photo i {
  display: none;
}
.cw-photo-circle.cw-has-photo img {
  display: block;
}
.cw-photo-upload input[type="file"] {
  display: none;
}
.cw-photo-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.cw-field {
  margin-bottom: 18px;
}
.cw-field label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 7px;
}
.cw-field .cw-required {
  color: var(--terracotta);
}
.cw-field input[type="text"],
.cw-field input[type="email"],
.cw-field textarea {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: var(--fg);
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 15px;
  transition: border-color 0.2s ease;
}
.cw-field input[type="text"]:focus,
.cw-field input[type="email"]:focus,
.cw-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
[data-theme="dark"] .cw-field input[type="text"],
[data-theme="dark"] .cw-field input[type="email"],
[data-theme="dark"] .cw-field textarea {
  border-color: var(--line);
}
.cw-field textarea {
  resize: vertical;
  min-height: 90px;
  font-family: "Inter", sans-serif;
}
.cw-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--fg-muted);
  margin-top: 5px;
  opacity: 0.8;
}
.cw-hint.cw-hint-error {
  color: var(--terracotta);
  opacity: 1;
}
.cw-dropdown-trigger.cw-trigger-error {
  border-color: var(--terracotta);
}
.cw-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cw-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.cw-network-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cw-network-option:hover {
  background: var(--bg-2);
}
.cw-network-option:has(input:checked) {
  background: rgba(200, 150, 61, 0.14);
}
.cw-network-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cw-network-option span {
  font-size: 0.88rem;
  color: var(--fg);
}
.cw-network-option::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.cw-network-option:has(input:checked)::after {
  opacity: 1;
}

/* ---- network multi-select dropdown ---- */
.cw-dropdown {
  position: relative;
}
.cw-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: var(--fg);
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 15px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cw-dropdown.cw-dropdown-open .cw-dropdown-trigger {
  border-color: var(--gold);
}
.cw-dropdown-trigger-text {
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cw-dropdown-trigger-text.cw-has-value {
  color: var(--fg);
}
.cw-dropdown-trigger i {
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.cw-dropdown.cw-dropdown-open .cw-dropdown-trigger i {
  transform: rotate(180deg);
  color: var(--gold);
}
.cw-dropdown-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  max-height: 260px;
  overflow-y: auto;
}
.cw-dropdown.cw-dropdown-open .cw-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---- date field with calendar icon ---- */
.cw-date-field {
  position: relative;
}
.cw-date-field input[type="date"] {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: var(--fg);
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 15px;
  padding-right: 42px;
  transition: border-color 0.2s ease;
  color-scheme: light;
}
[data-theme="dark"] .cw-date-field input[type="date"] {
  color-scheme: dark;
  border-color: var(--line);
}
.cw-date-field input[type="date"]:focus {
  outline: none;
  border-color: var(--gold);
}
.cw-date-field i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
  font-size: 0.92rem;
}
.cw-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ---- review step ---- */
.cw-review-list {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
}
.cw-review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.cw-review-row:last-child {
  border-bottom: none;
}
.cw-review-row span:first-child {
  color: var(--fg-muted);
  flex-shrink: 0;
}
.cw-review-row span:last-child {
  color: var(--fg);
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.cw-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 24px;
}
.cw-consent input {
  margin-top: 3px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.cw-consent label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--fg-muted);
  cursor: pointer;
}

/* ---- nav buttons ---- */
.cw-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.cw-btn-back {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding: 12px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cw-btn-back:hover {
  color: var(--fg);
}
.cw-btn-back.cw-btn-hidden {
  visibility: hidden;
}
.cw-btn-next,
.cw-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--forest);
  color: var(--cream);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.cw-btn-next:hover,
.cw-modal-submit:hover {
  background: #0a1c11;
  transform: translateY(-2px);
}
[data-theme="dark"] .cw-btn-next:hover,
[data-theme="dark"] .cw-modal-submit:hover {
  background: #ffffff;
  color: var(--forest);
}
.cw-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cw-modal-status {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  display: none;
  align-items: center;
  gap: 8px;
}
.cw-modal-status.cw-modal-status-visible {
  display: flex;
}
.cw-modal-status.cw-sending {
  background: rgba(200, 150, 61, 0.14);
  color: var(--gold);
}
.cw-modal-status.cw-success {
  background: rgba(46, 125, 79, 0.15);
  color: #2e7d4f;
}
[data-theme="dark"] .cw-modal-status.cw-success {
  color: #7fd8a0;
}
.cw-modal-status.cw-error {
  background: rgba(184, 83, 47, 0.14);
  color: var(--terracotta);
}

@media (max-width: 560px) {
  .cw-modal {
    padding: 32px 22px 26px;
  }
  .cw-network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cw-field-row {
    grid-template-columns: 1fr;
  }
  .cw-step-line {
    width: 30px;
  }
  .cw-step-label {
    display: none;
  }
}
