/* Tito’s Hope workplace-giving landing page
   Colors match the public titoshope.org palette (green, plum, cream, ink). */
:root {
  --green: #8DAD50;
  --green-deep: #6E8C38;
  --green-dark: #54702A;
  --green-tint: #EEF3DE;
  --lime: #DAD666;
  --plum: #7C3E54;
  --plum-deep: #652E43;
  --plum-tint: #F3E7EC;
  --cream: #FAF7EE;
  --cream2: #F2ECDC;
  --ink: #383832;
  --soft: #6E6E64;
  --line: #E5DFCF;
  --line-s: #D2CAB4;
  --white: #ffffff;
  --focus: #54702A;
  --shadow: 0 10px 30px rgba(56, 56, 50, 0.08);
  --radius: 18px;
  --max: 70rem;
  --sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Lora, "Iowan Old Style", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--plum-deep); }
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.wrap.narrow { width: min(calc(100% - 2rem), 46rem); }
.center { text-align: center; }
.center-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-link img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong { font-size: 1rem; }
.logo-text span { font-size: 0.75rem; color: var(--soft); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--green-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-plum {
  background: var(--plum);
  color: var(--white);
}
.btn-plum:hover { background: var(--plum-deep); color: var(--white); }
.btn-green {
  background: var(--green-dark);
  color: var(--white);
}
.btn-green:hover { background: var(--green-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-s);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Hero */
.hero {
  padding: 2.5rem 0 3.25rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.lede {
  font-size: 1.12rem;
  color: var(--soft);
  margin: 0 0 1.5rem;
  max-width: 40rem;
}
.ein-chip {
  margin-top: 1.15rem;
  font-size: 0.92rem;
  color: var(--soft);
}
.ein-chip strong { color: var(--ink); white-space: nowrap; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #d8d3c6;
}
.hero-photo figcaption,
.van-shot figcaption,
.gallery figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--soft);
}

/* Sections */
section { padding: 3.25rem 0; scroll-margin-top: 5.5rem; }
.band-green { background: var(--green-tint); }
.band-plum { background: var(--plum-deep); color: var(--cream); }
.band-plum a { color: var(--lime); }
.band-white { background: var(--white); }
.band-cream2 { background: var(--cream2); }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.12rem;
  margin: 0 0 0.55rem;
}
.subhead {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.section-intro {
  max-width: 42rem;
  color: var(--soft);
  margin: 0 0 2rem;
}
.narrow p { margin: 0 0 1rem; }
.narrow p:last-child { margin-bottom: 0; }

.cards-3, .cards-4, .steps, .tiers {
  display: grid;
  gap: 1.1rem;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: 0 1px 0 rgba(56,56,50,0.04);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}
.card p { margin: 0; color: var(--soft); font-size: 0.98rem; }
.card p + p { margin-top: 0.7rem; }
.card a { font-weight: 600; }

.goal-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 0.35rem;
}
.featured-goal {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.featured-goal h3 { color: var(--white); }
.featured-goal p,
.featured-goal .goal-num { color: var(--lime); }
.featured-goal p { color: rgba(250, 247, 238, 0.9); }
.featured-goal a { color: var(--lime); }

/* Van */
.van-shot {
  margin: 0 0 2rem;
}
.van-shot img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 65%;
  box-shadow: var(--shadow);
  background: #d8d3c6;
}
.van-copy h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
}
.van-copy p { margin: 0 0 1rem; color: var(--soft); }

/* Steps */
.steps { grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.3rem;
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.step h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.step p { margin: 0; font-size: 0.92rem; color: var(--soft); }
.cause-box {
  margin-top: 1.5rem;
  background: var(--cream);
  border: 1px dashed var(--line-s);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cause-box p { margin: 0; }
.cause-box code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--green-tint);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}
.note {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--soft);
}

/* Tiers */
.tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tier.featured {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
  transform: scale(1.02);
}
.tier .amount {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier .label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--plum);
}
.tier.featured .label { color: var(--lime); }
.tier p { margin: 0.4rem 0 0; color: var(--soft); }
.tier.featured p { color: rgba(250, 247, 238, 0.88); }

/* Stats */
.stats { grid-template-columns: repeat(4, 1fr); }
.stat {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem;
  border: 1px solid var(--line);
}
.band-white .stat { background: var(--cream); }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.1;
  margin: 0 0 0.35rem;
}
.stat p { margin: 0; color: var(--soft); font-size: 0.92rem; }

/* Stories */
.story-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.8rem;
  align-items: center;
  margin: 0 0 2.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
}
.story-feature figure { margin: 0; }
.story-feature img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 1;
  object-fit: cover;
}
.story-feature p { color: var(--soft); margin: 0 0 0.85rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

/* Volunteer / lists / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--green);
}

/* Share / copy cards */
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.share-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}
.share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.share-head h3 { margin: 0; }
.share-head .btn { min-height: 40px; padding: 0.45rem 0.95rem; font-size: 0.92rem; }
.share-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  max-height: 22rem;
  overflow: auto;
}

/* FAQ */
.faq { display: grid; gap: 0.65rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.2rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--plum);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1rem;
  color: var(--soft);
}

/* Final CTA */
.final-cta {
  background: var(--green-tint);
  padding: 3.5rem 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(250,247,238,0.18);
  border-radius: 22px;
  padding: 1.5rem 1.4rem;
}
.contact-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.contact-card p, .contact-card a { color: var(--cream); }
.contact-card a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-card .role { color: var(--lime); font-weight: 600; margin: 0 0 1rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin: 0 0 0.65rem; }
.band-plum .btn-plum { background: var(--lime); color: var(--ink); }
.band-plum .btn-plum:hover { background: var(--white); color: var(--ink); }
.band-plum .btn-ghost { border-color: rgba(250,247,238,0.35); color: var(--cream); }
.band-plum .btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d9d4c6;
  padding: 2.4rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--lime); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(229,223,207,0.15);
  margin-bottom: 1.2rem;
}
.footer-brand { display: flex; gap: 0.8rem; align-items: center; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { display: block; color: var(--cream); }
.other-ways { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; align-items: center; }
.legal { color: #b4af9f; max-width: 54rem; }
.credit { margin-top: 0.8rem; color: #9c9788; font-size: 0.82rem; }

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 238, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.mobile-cta .btn { flex: 1; }

/* Responsive */
@media (max-width: 1080px) {
  .nav .nav-hide { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .share-grid, .story-feature { grid-template-columns: 1fr; }
  .steps, .cards-4, .stats { grid-template-columns: 1fr 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .tier.featured { transform: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow { width: min(calc(100% - 1.25rem), var(--max)); }
  .cards-3, .tiers, .steps, .cards-4, .stats, .gallery, .share-grid { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 4 / 3; }
  .nav { display: none; }
  .header-inner .btn { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 6.5rem; }
  .logo-link img { width: 44px; height: 44px; }
  .hero { padding-top: 1.5rem; }
}
