:root {
  --paper: #F6EFE3;
  --paper2: #EFE4D1;
  --kraft: #D8B98A;
  --kraftDeep: #B9965F;
  --brick: #C2553A;
  --green: #4F7A5A;
  --yellow: #F2C14E;
  --slate: #2E3440;
  --ink: #23272F;
  --muted: #5A554E;
  --tape: rgba(242, 226, 178, 0.92);
  --r-cut: 10px 4px 12px 6px;
  --r-cut-alt: 5px 12px 6px 11px;
  --shadow-cut: 5px 6px 0 rgba(35, 39, 47, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); }

body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--paper);
  background-image:
    radial-gradient(rgba(35, 39, 47, 0.045) 1px, transparent 0),
    linear-gradient(180deg, var(--paper) 0%, #F2E8D6 100%);
  background-size: 20px 20px, 100% 100%;
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0;
}

.ct-ltr {
  direction: ltr;
  display: inline-block;
  unicode-bidi: isolate;
  font-family: 'IBM Plex Mono', monospace;
}

.ct-wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header with masking-tape accents */
.ct-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 239, 227, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px dashed rgba(185, 150, 95, 0.55);
}

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

.ct-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.ct-brand-stamp {
  width: 38px;
  height: 38px;
  border-radius: var(--r-cut);
  background: var(--brick);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  font-weight: 700;
  transform: rotate(-3deg);
  box-shadow: 2px 3px 0 rgba(35, 39, 47, 0.22);
}

.ct-brand-name {
  font-family: 'Amiri', serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
}

.ct-brand-sub {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.ct-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.ct-nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

.ct-nav-links a:hover {
  background: var(--tape);
  color: var(--brick);
}

.ct-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ct-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(79, 122, 90, 0.14);
  border: 1.5px solid var(--green);
  color: #294631;
  font-size: 0.8rem;
  font-weight: 700;
}

.ct-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: ctPulse 1.8s infinite;
}

@keyframes ctPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.45; }
}

.ct-dir-links {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ct-mini-btn {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper2);
  border: 1.5px solid var(--kraftDeep);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.18s, background 0.18s;
}

.ct-mini-btn:hover {
  background: var(--kraft);
  transform: translateY(-1px);
}

/* Masking tape strip helper */
.ct-tape {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tape);
  color: var(--ink);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  border-inline: 2px dotted rgba(185, 150, 95, 0.65);
  box-shadow: 0 2px 6px rgba(35, 39, 47, 0.1);
  transform: rotate(-1.2deg);
}

/* Hero Section */
.ct-hero {
  padding: 44px 0 64px;
}

.ct-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.ct-hero-copy .ct-tape {
  margin-bottom: 22px;
}

.ct-h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(2.45rem, 4.1vw, 3.65rem);
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink);
  margin-bottom: 18px;
}

.ct-h1 em {
  font-style: normal;
  color: var(--brick);
  background: linear-gradient(180deg, transparent 58%, rgba(242, 193, 78, 0.52) 58%, rgba(242, 193, 78, 0.52) 92%, transparent 92%);
  padding-inline: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ct-lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 26px;
}

.ct-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-cut);
  font-family: 'Cairo', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.ct-btn-primary {
  background: var(--brick);
  color: #FFFDF9;
  box-shadow: 4px 4px 0 var(--ink);
}

.ct-btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.ct-btn-outline {
  background: var(--paper2);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(35, 39, 47, 0.22);
}

.ct-btn-outline:hover {
  background: var(--kraft);
  transform: translateY(-2px);
}

.ct-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ct-metric {
  background: var(--paper2);
  border: 1.5px solid var(--kraftDeep);
  border-radius: var(--r-cut-alt);
  padding: 12px 10px;
}

.ct-metric strong {
  display: block;
  font-family: 'Amiri', serif;
  font-size: 1.38rem;
  color: var(--brick);
  line-height: 1.25;
}

.ct-metric span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Corrugated Cardboard Diorama Frame */
.ct-diorama-wrap {
  position: relative;
}

.ct-corrugated {
  position: relative;
  padding: 14px;
  border-radius: 14px 6px 16px 8px;
  background:
    repeating-linear-gradient(
      90deg,
      #CFAF7D 0px,
      #CFAF7D 5px,
      #C09B64 5px,
      #C09B64 9px
    );
  border: 2px solid #8E6E40;
  box-shadow: 10px 12px 0 rgba(35, 39, 47, 0.18);
}

.ct-diorama-tape-top {
  position: absolute;
  top: -14px;
  inset-inline-start: 28px;
  z-index: 4;
  transform: rotate(-2.5deg);
}

.ct-diorama-tape-bottom {
  position: absolute;
  bottom: -15px;
  inset-inline-end: 24px;
  z-index: 4;
  transform: rotate(2deg);
  background: rgba(242, 193, 78, 0.94);
}

.ct-stage {
  position: relative;
  border-radius: 8px 4px 10px 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #221A14;
  cursor: crosshair;
}

.ct-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ct-stage:hover img {
  transform: scale(1.03);
}

.ct-lantern-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--lx, 50%) var(--ly, 48%),
    rgba(255, 224, 138, 0.34),
    rgba(242, 193, 78, 0.1) 42%,
    rgba(19, 15, 11, 0.34) 100%
  );
  mix-blend-mode: screen;
}

.ct-stage-hud {
  position: absolute;
  bottom: 12px;
  inset-inline: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.ct-hud-tag {
  background: rgba(35, 39, 47, 0.84);
  color: #F6EFE3;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(242, 193, 78, 0.42);
}

/* Section Generic */
.ct-sec {
  padding: 68px 0;
}

.ct-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.ct-eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brick);
  margin-bottom: 8px;
}

.ct-h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
  font-weight: 700;
  line-height: 1.38;
}

/* #find Neighborhood Filter & Points */
.ct-find-sec {
  background: var(--paper2);
  border-block: 2px dashed rgba(185, 150, 95, 0.5);
}

.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ct-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.ct-chip.is-active, .ct-chip:hover {
  background: var(--green);
  border-color: var(--green);
  color: #FFFDF8;
  transform: translateY(-1px);
}

.ct-points-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ct-point {
  background: var(--paper);
  border: 2px solid rgba(35, 39, 47, 0.18);
  border-radius: var(--r-cut);
  padding: 18px 15px;
  box-shadow: var(--shadow-cut);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.ct-point:hover {
  transform: translateY(-4px);
  border-color: var(--brick);
}

.ct-point.is-hidden {
  display: none;
}

.ct-point-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.ct-point-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(79, 122, 90, 0.14);
  color: #294631;
}

.ct-point h3 {
  font-family: 'Amiri', serif;
  font-size: 1.24rem;
  line-height: 1.35;
}

.ct-point p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.ct-point-meta {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(35, 39, 47, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brick);
}

/* #boxes Sponsor-a-Box & Calculator */
.ct-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.ct-box-card {
  background: #FFFDF8;
  border: 2px solid var(--ink);
  border-radius: var(--r-cut);
  padding: 24px;
  box-shadow: 5px 6px 0 var(--kraft);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-box-tag {
  align-self: flex-start;
  background: var(--tape);
  padding: 3px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  transform: rotate(-1.5deg);
}

.ct-box-card h3 {
  font-family: 'Amiri', serif;
  font-size: 1.45rem;
  line-height: 1.35;
}

.ct-box-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.ct-calc-panel {
  background: var(--paper2);
  border: 2px solid var(--ink);
  border-radius: var(--r-cut-alt);
  padding: 28px;
  box-shadow: 6px 7px 0 rgba(35, 39, 47, 0.16);
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.ct-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.ct-mode-btn {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.ct-mode-btn.is-active {
  background: var(--brick);
  color: #FFFDF8;
  border-color: var(--brick);
}

.ct-slider-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.ct-range {
  width: 100%;
  accent-color: var(--brick);
  cursor: pointer;
  margin-bottom: 12px;
}

.ct-mode-desc {
  font-size: 0.88rem;
  color: var(--muted);
}

.ct-calc-readout {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-cut);
  padding: 24px;
  text-align: center;
}

.ct-calc-num {
  font-family: 'Amiri', serif;
  font-size: 3.1rem;
  line-height: 1.15;
  color: var(--yellow);
  font-weight: 700;
}

.ct-calc-unit {
  font-size: 0.92rem;
  margin-top: 6px;
  color: #EFE4D1;
}

.ct-calc-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(242, 193, 78, 0.4);
  font-size: 0.82rem;
  color: #D8B98A;
}

/* #shelves Kraft Pantry Band */
.ct-kraft-band {
  background: var(--kraft);
  border-block: 2px solid #8E6E40;
}

.ct-shelves-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.ct-shelf-list {
  display: grid;
  gap: 14px;
}

.ct-shelf-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-cut);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ct-shelf-item h4 {
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
}

.ct-shelf-item p {
  font-size: 0.84rem;
  color: var(--muted);
}

.ct-urgency {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.ct-bars {
  display: flex;
  gap: 4px;
}

.ct-bars i {
  display: block;
  width: 14px;
  height: 18px;
  border-radius: 3px;
  background: rgba(35, 39, 47, 0.14);
  border: 1px solid rgba(35, 39, 47, 0.25);
}

.ct-bars i.on-high { background: var(--brick); border-color: var(--brick); }
.ct-bars i.on-mid { background: var(--yellow); border-color: #B48313; }
.ct-bars i.on-ok { background: var(--green); border-color: var(--green); }

.ct-urgency span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
}

.ct-beats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ct-beat {
  background: rgba(246, 239, 227, 0.92);
  border: 1.5px solid #8E6E40;
  border-radius: var(--r-cut-alt);
  padding: 16px;
}

.ct-beat-time {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--yellow);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.ct-beat h4 {
  font-family: 'Amiri', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.ct-beat p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* #suppers Dark Slate Volunteer Band */
.ct-slate-band {
  background: var(--slate);
  color: var(--paper);
}

.ct-slate-band .ct-eyebrow { color: var(--yellow); }
.ct-slate-band .ct-h2 { color: var(--paper); }

.ct-shifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.ct-shift-card {
  background: rgba(246, 239, 227, 0.06);
  border: 1.5px solid rgba(216, 185, 138, 0.35);
  border-radius: var(--r-cut);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-shift-day {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--yellow);
}

.ct-shift-card h3 {
  font-family: 'Amiri', serif;
  font-size: 1.38rem;
  color: #FFFDF8;
}

.ct-shift-card p {
  font-size: 0.88rem;
  color: #D7D2C8;
}

.ct-shift-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--yellow);
  background: transparent;
  color: var(--yellow);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ct-shift-btn.is-joined, .ct-shift-btn:hover {
  background: var(--yellow);
  color: var(--ink);
}

.ct-quote {
  background: rgba(246, 239, 227, 0.08);
  border-inline-start: 4px solid var(--brick);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ct-quote blockquote {
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  color: #FFFDF8;
  max-width: 58ch;
}

.ct-quote cite {
  font-style: normal;
  font-size: 0.86rem;
  color: var(--kraft);
  font-weight: 700;
}

/* Footer */
.ct-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 52px 0 32px;
  overflow: hidden;
}

.ct-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(216, 185, 138, 0.3);
}

.ct-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ct-footer-links a {
  color: var(--kraft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

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

.ct-wordmark {
  margin-top: 22px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(2.4rem, 9.6vw, 7.8rem);
  font-weight: 700;
  line-height: 0.95;
  color: rgba(216, 185, 138, 0.16);
  letter-spacing: 0.04em;
  user-select: none;
}

@media (max-width: 720px) {
  .ct-nav-links { display: none; }
  .ct-hero-grid, .ct-calc-panel, .ct-shelves-grid,
  .ct-boxes-grid, .ct-shifts-grid { grid-template-columns: 1fr; }
  .ct-points-grid { grid-template-columns: 1fr; }
  .ct-metrics { grid-template-columns: repeat(2, 1fr); }
  .ct-beats { grid-template-columns: 1fr; }
}
