/* ============================================
   CANNAVITA — Neighborhood Pages
   Brand palette extracted from cannavitanyc.com
   ============================================ */

:root {
  --ink: #022622;
  --green: #03302B;
  --green-mid: #283A26;
  --green-soft: #374836;
  --cream: #F9FBF3;
  --sand: #F4C37D;
  --sand-soft: #FBE9CC;
  --text: #212529;
  --muted: #6c7570;
  --border: #d8d8d0;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--sand); }

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

/* ============================================
   TOP BAR — License notice
   ============================================ */
.topbar {
  background: var(--ink);
  color: var(--sand-soft);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 0;
  text-align: center;
  font-weight: 500;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--green);
  color: var(--cream);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--cream);
  text-decoration: none;
}
.brand .wordmark { color: var(--cream); text-transform: uppercase; letter-spacing: 0.08em; }
.brand .wordmark em { font-style: normal; color: var(--sand); }

.nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--sand); }
.nav .cta {
  background: var(--sand);
  color: var(--green);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nav .cta:hover { background: var(--cream); color: var(--green); }

@media (max-width: 960px) {
  .nav { gap: 14px; }
  .nav .nav-link { display: none; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.crumbs {
  padding: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--green);
  color: var(--cream);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,195,125,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 7.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 28px;
  max-width: 900px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--sand);
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.6;
  max-width: 720px;
  color: rgba(249, 251, 243, 0.88);
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(249, 251, 243, 0.75);
  font-weight: 600;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-meta span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--sand);
  border-radius: 50%;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
}
.btn-primary { background: var(--sand); color: var(--green); border-color: var(--sand); }
.btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--green); }
.btn-secondary { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-secondary:hover { background: var(--cream); color: var(--green); }
.btn-dark-primary { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn-dark-primary:hover { background: var(--green-mid); border-color: var(--green-mid); }
.btn-dark-secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn-dark-secondary:hover { background: var(--green); color: var(--cream); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}
.section.green { background: var(--green); color: var(--cream); border-bottom-color: var(--ink); }
.section.green .section-eyebrow { color: var(--sand); }
.section.green h2 { color: var(--cream); }
.section.green h2 em { color: var(--sand); }
.section.green .intro { color: rgba(249, 251, 243, 0.85); }
.section.cream { background: var(--cream); }

.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 18px;
}
.section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 28px;
  max-width: 820px;
}
.section h2 em { font-style: normal; font-weight: 800; color: var(--green-mid); }
.section.green h2 em { color: var(--sand); }
.section .intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 48px;
}

/* ============================================
   NEIGHBORHOOD CARDS
   ============================================ */
.hood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 16px;
}
.hood-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease;
  color: var(--text);
}
.section.green .hood-card { background: rgba(249,251,243,0.06); border-color: rgba(244,195,125,0.2); color: var(--cream); }
.section.green .hood-card .hood-card-cta { color: var(--sand); }
.section.green .hood-card .hood-sub { color: rgba(249,251,243,0.7); }
.section.green .hood-card .hood-pill { background: var(--sand); color: var(--green); }
.hood-card:hover {
  transform: translateY(-4px);
  border-color: var(--sand);
}
.section.green .hood-card:hover {
  background: rgba(244,195,125,0.12);
  border-color: var(--sand);
}
.hood-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--green);
  color: var(--sand);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.hood-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hood-card .hood-sub { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.hood-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-top: 4px;
  color: var(--green);
}
.section.green .hood-card h4 { color: var(--sand); }
.hood-card p { font-size: 15px; line-height: 1.55; flex-grow: 1; }
.hood-card-cta {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 8px;
}

/* ============================================
   FEATURE STRIP (Why this hood)
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.feature {
  padding: 36px 28px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.feature .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--sand);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--green);
}
.feature p { font-size: 15.5px; line-height: 1.6; color: var(--text); }

/* ============================================
   TWO-COLUMN ABOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.two-col .lede-text p { font-size: 17px; line-height: 1.65; margin-bottom: 18px; color: var(--text); }
.info-card {
  background: var(--green);
  color: var(--cream);
  border-radius: 20px;
  padding: 36px 32px;
}
.info-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand);
  margin-bottom: 10px;
}
.info-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--cream);
}
.info-card .info-row { margin-bottom: 22px; }
.info-card .info-row:last-child { margin-bottom: 0; }
.info-card .info-row p { font-size: 15px; line-height: 1.55; color: rgba(249,251,243,0.9); }
.info-card .info-row a { color: var(--sand); text-decoration: underline; }

.landmark-list { list-style: none; padding: 0; }
.landmark-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.landmark-list li:last-child { border-bottom: none; }
.landmark-list li .dist {
  color: var(--green-mid);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   QUOTE / TESTIMONIAL
   ============================================ */
.quote {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 32px;
  border-radius: 18px;
  margin-top: 32px;
  border: 1px solid rgba(244,195,125,0.25);
}
.quote blockquote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.quote blockquote::before { content: "“"; color: var(--sand); font-size: 32px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.quote cite {
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
}

/* ============================================
   CATEGORY CHIPS
   ============================================ */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.cat-chips a {
  padding: 14px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.18s ease;
}
.cat-chips a:hover { background: var(--green); color: var(--sand); border-color: var(--green); }

/* ============================================
   MAP / DIRECTIONS
   ============================================ */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.map-iframe-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.map-iframe-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.directions { display: grid; gap: 20px; }
.dir-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
}
.dir-row .arrow {
  font-size: 22px;
  color: var(--sand);
  font-weight: 700;
}
.dir-row p { font-size: 15px; line-height: 1.55; color: var(--text); }
.section.green .dir-row p { color: rgba(249,251,243,0.9); }

@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 840px; }
.faq {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq summary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--green);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 26px;
  color: var(--sand);
  font-weight: 400;
  flex-shrink: 0;
}
.faq[open] summary::after { content: "–"; }
.faq p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 36px;
  text-align: center;
}
.site-footer .warn {
  background: var(--sand);
  color: var(--green);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 28px;
}
.site-footer .brand-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--cream);
}
.site-footer .brand-mark em { font-style: normal; color: var(--sand); }
.site-footer p { font-size: 14px; line-height: 1.7; color: rgba(249,251,243,0.8); }
.site-footer p.copy { font-size: 12px; margin-top: 26px; color: rgba(249,251,243,0.55); }
.site-footer a { color: var(--sand); text-decoration: underline; }

/* ============================================
   BACK LINK
   ============================================ */
.back-link {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 30px;
  border: 2px solid var(--green);
  border-radius: 999px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.back-link:hover { background: var(--green); color: var(--sand); }
