:root {
  --dark: #2f2c27;
  --dark-2: #1c1a17;
  --tan: #cbc3ba;
  --tan-light: #eee9e1;
  --cream: #faf8f4;
  --gold: #a3763f;
  --gold-light: #c9a876;
  --white: #ffffff;
  --text: #2f2d2a;
  --muted: #726c62;
  --border: #e6e0d6;
  --max-width: 1140px;
  --shadow-sm: 0 2px 10px rgba(28, 26, 23, 0.06);
  --shadow-md: 0 12px 28px rgba(28, 26, 23, 0.12);
  --shadow-lg: 0 24px 56px rgba(28, 26, 23, 0.18);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

::selection { background: var(--gold-light); color: var(--dark-2); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 { color: var(--dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */
.site-header {
  background: rgba(28, 26, 23, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header .logo img {
  height: 44px;
  width: auto;
  transition: opacity 0.2s ease;
}

.site-header .logo:hover img { opacity: 0.85; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.site-nav a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold-light);
  transition: right 0.25s ease;
}

.site-nav a:not(.cta):hover::after { right: 0; }

.site-nav a:hover { color: var(--gold-light); }

.site-nav a.cta {
  background: var(--gold);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-nav a.cta:hover {
  background: var(--gold-light);
  color: var(--dark-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(163, 118, 63, 0.14), transparent 60%),
    linear-gradient(135deg, var(--tan-light) 0%, var(--tan) 100%);
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h2 {
  font-size: 46px;
  line-height: 1.12;
  margin: 14px 0 20px;
  color: var(--dark);
}

.hero p.lead {
  font-size: 18px;
  margin: 0 0 24px;
  max-width: 48ch;
  color: #423f3a;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 8px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(47, 44, 39, 0.12);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
}

.badge-pill svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); }

.area-pill-row { gap: 8px; }

.area-pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 64%;
  height: 64%;
  border: 2px solid var(--gold-light);
  border-radius: 14px;
  z-index: -1;
  opacity: 0.6;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 60px 0; }

.section-tan { background: var(--cream); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 36px; }

.section-header .eyebrow { justify-content: center; }

.section-header h2 {
  font-size: 32px;
  color: var(--dark);
  margin: 10px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* About / Heroes teaser cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-top: 0; margin-bottom: 10px; color: var(--dark); font-size: 19px; }

.card p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark);
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { margin: 14px 0 0; color: var(--muted); }

.faq-item p a { color: var(--gold); font-weight: 600; text-decoration: none; }
.faq-item p a:hover { text-decoration: underline; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--tan-light);
  line-height: 1;
  z-index: 0;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.testimonial-quote {
  flex: 1;
  font-style: italic;
  color: var(--text);
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}

.testimonial-attribution {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-attribution span {
  font-weight: 400;
  color: var(--muted);
}

.testimonials-note {
  text-align: center;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

.testimonials-note a { color: var(--gold); font-weight: 600; text-decoration: none; }
.testimonials-note a:hover { text-decoration: underline; }

.heroes-banner {
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(201, 168, 118, 0.18), transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.heroes-banner h2 { margin: 10px 0 10px; color: var(--white); }
.heroes-banner p { margin: 0; color: var(--tan); max-width: 60ch; }

/* Listings */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.listing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.listing-photo {
  aspect-ratio: 4/3;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.listing-body { padding: 18px; }

.listing-price {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
}

.listing-address { margin: 4px 0 10px; color: var(--muted); }

.listing-meta {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--dark);
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.idx-slot {
  margin-top: 48px;
  border: 2px dashed #cabfaf;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
}

.idx-slot h3 { color: var(--dark); margin-top: 0; }

/* Contact form */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info h3 { color: var(--dark); font-size: 22px; }

.contact-info ul { list-style: none; padding: 0; margin: 0; }

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info li strong { display: block; color: var(--dark); }

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-intro {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.form-intro h3 { color: var(--dark); font-size: 18px; margin: 0 0 8px; }
.form-intro p { color: var(--muted); margin: 0; }

.form-group { margin-bottom: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7d2ca;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 118, 63, 0.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-consent label {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form-consent a { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--dark-2);
  color: var(--tan);
  padding: 44px 0;
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

/* Legal / compliance footer */
.legal-footer {
  background: var(--white);
  color: var(--text);
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

.legal-footer .container {
  text-align: center;
}

.legal-footer a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
}

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

.legal-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-bottom: 28px;
}

.trec-disclaimer {
  margin: 0 auto 28px;
}

.trec-disclaimer strong {
  display: block;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.trec-disclaimer p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 60ch;
}

.legal-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.legal-badges img {
  height: 56px;
  width: auto;
}

.fair-housing-statement {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 60ch;
  margin: 0 auto 28px;
}

.license-line {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

/* Page header for interior pages */
.page-header {
  background:
    radial-gradient(900px 340px at 90% 0%, rgba(201, 168, 118, 0.12), transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 44px 0;
  text-align: center;
}

.page-header h1 { margin: 0 0 14px; color: var(--white); font-size: 46px; }
.page-header p { color: var(--tan); max-width: 60ch; margin: 0 auto; font-size: 19px; }

/* Photo + text split content */
.split-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}

.split-content .split-photo {
  max-width: 100%;
}

.split-content p { font-size: 18px; max-width: 46ch; }

/* Donation calculator */
.calc-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}

.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 10px;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #d7d2ca;
  border-radius: 8px;
  padding: 4px 18px;
  margin-bottom: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 118, 63, 0.15);
}

.calc-prefix {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--muted);
  margin-right: 6px;
}

.calc-input-wrap input {
  border: none;
  outline: none;
  flex: 1;
  width: 100%;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  background: transparent;
}

.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--white);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.calc-result span { font-weight: 600; }

.calc-result strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.calc-disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Heroes page specifics */
.heroes-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.heroes-list .card { text-align: center; }
.heroes-list .card-icon { margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .hero h2 { font-size: 36px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { max-width: 340px; margin: 0 auto; }
  .card-grid, .listing-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .heroes-list { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .split-content { grid-template-columns: 1fr; text-align: center; }
  .split-content .split-photo { max-width: 260px; margin: 0 auto; }
  .heroes-banner { grid-template-columns: 1fr; text-align: center; }
  section { padding: 48px 0; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-2);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a.cta { text-align: center; }
  .site-header .container { position: relative; }
  .card-grid, .listing-grid, .heroes-list, .testimonial-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 30px; }
  .page-header h1 { font-size: 32px; }
  .page-header p { font-size: 17px; }
  .badge-row { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
