/* Spring Street Eruv — site styles */
:root {
  --green-900: #0a3a31;
  --green-700: #0d4c40;
  --green-600: #146b5a;
  --teal: #48a999;
  --teal-100: #e4f3ef;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --ink: #15201d;
  --muted: #5d6b67;
  --line: #dfe6e3;
  --red: #e5484d;
  --yellow: #f2c122;
  --green: #33a76a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 58, 49, .06), 0 10px 28px -14px rgba(10, 58, 49, .22);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--green-900);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-900); }
.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; position: relative; }
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em;
  color: var(--green-900); text-decoration: none; white-space: nowrap;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--green-700); color: #fff;
  display: grid; place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  padding: .5rem .85rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--teal-100); color: var(--green-900); }
.site-nav a[aria-current="page"] { background: var(--teal-100); color: var(--green-900); font-weight: 600; }
.site-nav a.btn { margin-left: .6rem; color: #fff; }
.site-nav a.btn:hover, .site-nav a.btn[aria-current="page"] { background: var(--green-900); color: #fff; }
.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem; font: inherit; font-weight: 600; color: var(--green-900); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .75rem 1rem 1rem; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .75rem 1rem; border-radius: 10px; }
  .site-nav a.btn { margin: .5rem 0 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-secondary { background: #fff; color: var(--green-900); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--teal); color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--teal-100); color: var(--green-900); }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-whatsapp { background: #25d366; color: #073b1c; }
.btn-whatsapp:hover { background: #1fbf5b; color: #073b1c; }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: #fff;
  background: var(--green-900) url("/wp-content/uploads/2026/hero-catskills.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(7, 44, 37, .94) 0%, rgba(7, 44, 37, .78) 50%, rgba(7, 44, 37, .5) 100%);
}
.hero-inner { padding: 5.5rem 0 7rem; max-width: 700px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem;
}

/* Status card */
.status-section { position: relative; z-index: 2; margin-top: -4rem; }
.status-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 2.25rem; align-items: center;
  padding: 2rem 2.25rem;
}
.traffic {
  background: #1b2321; border-radius: 30px; padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .55), 0 6px 16px -8px rgba(0, 0, 0, .5);
}
.light {
  width: 58px; height: 58px; border-radius: 50%;
  background: #2a3330; opacity: .5;
  transition: background .3s, opacity .3s, box-shadow .3s;
}
.light.is-on { opacity: 1; animation: glow 2.6s ease-in-out infinite; }
.light[data-level="red"].is-on { background: var(--red); box-shadow: 0 0 0 4px rgba(229, 72, 77, .18), 0 0 30px rgba(229, 72, 77, .8); }
.light[data-level="yellow"].is-on { background: var(--yellow); box-shadow: 0 0 0 4px rgba(242, 193, 34, .2), 0 0 30px rgba(242, 193, 34, .85); }
.light[data-level="green"].is-on { background: var(--green); box-shadow: 0 0 0 4px rgba(51, 167, 106, .18), 0 0 30px rgba(51, 167, 106, .8); }
@keyframes glow { 50% { filter: brightness(1.2); } }
@media (prefers-reduced-motion: reduce) { .light.is-on { animation: none; } }
.status-body .eyebrow { color: var(--green-600); margin-bottom: .35rem; }
.status-level {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--green-900);
  margin: 0 0 .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem;
}
.chip {
  display: inline-block; padding: .28rem .75rem; border-radius: 999px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.chip-yellow { background: #fff3c4; color: #6f5200; }
.chip-red { background: #ffe1e1; color: #9b1c1c; }
.chip-green { background: #dcf5e7; color: #14532d; }
.chip-neutral { background: var(--teal-100); color: var(--green-900); }
.status-message { color: var(--muted); max-width: 62ch; font-size: 1.02rem; }
.status-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem 1.5rem;
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.meta-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: .15rem; }
.meta-value { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--green-900); }
.status-updated { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
@media (max-width: 640px) {
  .status-card { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; justify-items: start; }
  .traffic { flex-direction: row; }
  .light { width: 48px; height: 48px; }
  .status-section { margin-top: -3rem; }
}

/* Sections & cards */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: .25rem; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 22px; height: 22px; }
.card .btn { margin-top: .5rem; }
.card-highlight { background: var(--green-900); color: rgba(255, 255, 255, .85); border-color: transparent; }
.card-highlight h3, .card-highlight h2 { color: #fff; }
.card-highlight .icon { background: rgba(255, 255, 255, .12); color: #fff; }

/* Page header */
.page-head { padding: 3.5rem 0 2.5rem; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .35rem; }
.page-head .lead { margin: 0; }

/* Prose */
.prose { font-size: 1.05rem; }
.prose p { margin-bottom: 1.1em; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--green-900); }
.notice {
  background: #fff8e1; border: 1px solid #f3e2a6; border-radius: 12px; padding: 1rem 1.2rem; color: #5b4300;
}
.notice-teal { background: var(--teal-100); border-color: #c9e6de; color: var(--green-900); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.75rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #cfe3dd; border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 1.75rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.75rem; top: .45rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal);
}
.timeline li.milestone::before { background: var(--green-700); border-color: var(--green-700); box-shadow: 0 0 0 4px var(--teal-100); }
.timeline time, .timeline .when { display: block; font-family: var(--font-body); font-weight: 700; color: var(--green-900); font-size: 1.02rem; }
.timeline p { margin: .2rem 0 0; color: var(--ink); }

/* Map */
.map-frame { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: .75rem; box-shadow: var(--shadow); }
.map-frame img { border-radius: 12px; width: 100%; }
.map-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--green-900); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(72, 169, 153, .2); }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkbox input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--green-700); flex: none; }

/* Donate */
.donate-hero { text-align: center; padding: 3.5rem 2rem; }
.donate-hero .btn { margin-top: .5rem; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .78); margin-top: 5rem; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: rgba(255, 255, 255, .12); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .85rem; color: rgba(255, 255, 255, .6);
}
