@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --bg:        #FDFAF4;
  --green:     #2D4A2D;
  --terra:     #C4722A;
  --dark:      #1A1A1A;
  --brown:     #5C4A32;
  --white:     #FFFFFF;
}

html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--dark); background: var(--bg); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(253,250,244,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(196,114,42,0.15);
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--green); }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--green); text-decoration: none; letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.9rem; letter-spacing: 0.04em; transition: color .2s; }
.nav-links a:hover { color: var(--terra); }
.nav-links .btn-nav {
  background: var(--terra); color: var(--white);
  padding: 0.55rem 1.3rem; border-radius: 3px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em;
}
.nav-links .btn-nav:hover { background: #a85f22; color: var(--white); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-top: 72px; /* clear fixed nav; overflow spills down (buttons), never up (headline) */
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 2.5rem 4rem;
  max-width: 820px;
  margin-top: auto; /* push to bottom; can't overflow above y=72px */
}
.hero-eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15; font-weight: 700;
  color: var(--white); margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: 1.05rem; line-height: 1.65;
  color: rgba(255,255,255,0.88);
  max-width: 560px; margin-bottom: 2rem;
}
.hero-caption {
  font-size: 0.78rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); margin-bottom: 2rem;
  font-style: italic;
}
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--terra); color: var(--white);
  text-decoration: none; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 3px; transition: background .2s;
}
.btn-primary:hover { background: #a85f22; }
.btn-outline {
  display: inline-block; padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.7); color: var(--white);
  text-decoration: none; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 3px; transition: all .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-terra {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--terra); color: var(--white);
  text-decoration: none; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 3px; transition: background .2s;
}
.btn-terra:hover { background: #a85f22; }

/* ── MISSION STRIP ── */
.mission-strip {
  background: var(--green); padding: 3.5rem 2.5rem;
}
.strip-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.strip-item { text-align: center; }
.strip-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.strip-item h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: 1.05rem; margin-bottom: 0.6rem;
}
.strip-item p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; }

/* ── SECTION DEFAULTS ── */
section { padding: 5rem 2.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: block; font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 0.75rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2; margin-bottom: 1.5rem;
}
p { line-height: 1.75; color: var(--brown); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── CONNECTION TIERS ── */
.tiers-section { background: var(--bg); }
.tiers-header { text-align: center; margin-bottom: 3rem; }
.tiers-header h2 { color: var(--dark); }
.tiers-header p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.tier-card {
  background: var(--white); border: 1px solid rgba(196,114,42,0.18);
  border-radius: 6px; padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.tier-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.tier-number {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra); font-weight: 700; margin-bottom: 0.5rem;
}
.tier-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--dark);
  margin-bottom: 0.4rem;
}
.tier-price {
  font-size: 1.4rem; font-weight: 700; color: var(--terra);
  margin-bottom: 0.75rem;
}
.tier-card p {
  font-size: 0.88rem; line-height: 1.6; flex: 1;
  color: var(--brown); margin-bottom: 1.25rem;
}
.tier-btn {
  display: block; text-align: center;
  padding: 0.65rem 1rem;
  background: var(--green); color: var(--white);
  text-decoration: none; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.06em;
  border-radius: 3px; transition: background .2s;
  margin-top: auto;
}
.tier-btn:hover { background: #1e3320; }
.tier-featured {
  border-color: var(--terra); border-width: 2px;
  background: #fff8f3;
}
.tier-badge {
  display: inline-block; margin-bottom: 0.5rem;
  background: var(--terra); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 2px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2; margin-bottom: 1rem; text-align: center;
}
.section-sub { text-align: center; max-width: 580px; margin: 0 auto 2.5rem; }

/* ── WHO WE ARE ── */
.who-section { background: var(--white); }
.who-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.who-img {
  width: 100%; height: 480px;
  object-fit: cover; border-radius: 4px;
}
.who-text h2 { margin-bottom: 1.25rem; }
.who-text p { margin-bottom: 1rem; }
.text-link {
  color: var(--terra); font-weight: 700; text-decoration: none;
  font-size: 0.95rem; letter-spacing: 0.03em;
}
.text-link:hover { text-decoration: underline; }

/* ── ARTISAN SPOTLIGHT ── */
.artisan-section { background: var(--bg); }
.artisan-header { text-align: center; margin-bottom: 2.5rem; }
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.photo-card { border-radius: 4px; overflow: hidden; background: var(--white); }
.photo-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.photo-card figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.82rem; color: var(--brown); line-height: 1.5;
}
.artisan-cta { text-align: center; }

/* ── FOOD DRIVE STRIP ── */
.food-drive-strip {
  position: relative; padding: 5rem 2.5rem;
  background: var(--green);
  overflow: hidden;
}
.food-drive-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.25;
}
.food-drive-content {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto; text-align: center;
}
.food-drive-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white); margin-bottom: 1.25rem;
}
.food-drive-content p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-size: 1.05rem; }
.btn-white {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--white); color: var(--terra);
  text-decoration: none; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 3px; margin-right: 1rem; transition: background .2s;
}
.btn-white:hover { background: #f0ece4; }
.btn-outline-white {
  display: inline-block; padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.7); color: var(--white);
  text-decoration: none; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 3px; transition: all .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ── IMPACT NUMBERS ── */
.impact-section { background: var(--white); }
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.impact-item {}
.impact-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700; color: var(--terra); display: block;
}
.impact-label { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--brown); }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 4rem 2.5rem 2rem;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; display: block;
}
.footer-about { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
footer h4 {
  color: var(--white); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--terra); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

/* ── PAGE HEROES ── */
.page-hero {
  position: relative; height: 55vh; min-height: 380px;
  display: flex; align-items: flex-end;
  overflow: hidden; margin-top: 0; padding-top: 70px;
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; padding: 2.5rem;
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); margin-bottom: 0.5rem;
}
.page-hero-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* ── MISSION PAGE ── */
.mission-body { background: var(--bg); }
.mission-text { max-width: 720px; }
.mission-text p { font-size: 1.05rem; margin-bottom: 1.2rem; }
.photo-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 3rem 0;
}
.photo-row img { width: 100%; height: 260px; object-fit: cover; border-radius: 4px; }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;
}
.pillar {
  background: var(--white); border-radius: 6px; padding: 2rem;
  border-left: 4px solid var(--terra);
}
.pillar-icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }
.pillar h3 { font-family: 'Playfair Display', serif; margin-bottom: 0.75rem; }
.pillar p { font-size: 0.9rem; }

/* ── MANGYAN PAGE ── */
.pull-quote {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--terra); line-height: 1.4;
  text-align: center; max-width: 700px;
  margin: 3rem auto; padding: 2rem 0;
  border-top: 2px solid rgba(196,114,42,0.3);
  border-bottom: 2px solid rgba(196,114,42,0.3);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin: 3rem 0;
}
.gallery img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 3px; display: block;
}

/* ── FOOD DRIVE PAGE ── */
.steps { counter-reset: step; list-style: none; margin: 2.5rem 0; }
.steps li {
  counter-increment: step;
  display: flex; gap: 1.5rem; margin-bottom: 2rem; align-items: flex-start;
}
.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  background: var(--terra); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.steps li div h4 { font-weight: 700; margin-bottom: 0.35rem; color: var(--dark); }
.steps li div p { margin: 0; font-size: 0.95rem; }
.impact-callout {
  background: var(--green); color: var(--white);
  border-radius: 6px; padding: 2rem 2.5rem;
  margin: 2.5rem 0; display: flex; gap: 3rem;
}
.impact-callout strong { font-family: 'Playfair Display', serif; font-size: 1.5rem; display: block; }
.impact-callout span { font-size: 0.88rem; opacity: 0.8; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { font-size: 1.05rem; }
.contact-email {
  display: inline-block; margin-top: 1.5rem;
  font-size: 1.2rem; font-weight: 700;
  color: var(--terra); text-decoration: none;
}
.contact-email:hover { text-decoration: underline; }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: 6px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--brown); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 3px;
  font-family: 'Lato', sans-serif; font-size: 0.95rem;
  background: var(--bg); color: var(--dark);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--terra);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-submit {
  width: 100%; padding: 0.9rem;
  background: var(--terra); color: var(--white);
  border: none; border-radius: 3px; font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.06em; cursor: pointer;
  transition: background .2s;
}
.form-submit:hover { background: #a85f22; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .who-grid, .contact-grid { grid-template-columns: 1fr; }
  .strip-grid, .cards-grid, .pillars { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .tiers-grid { grid-template-columns: repeat(2,1fr); }
  .photo-row { grid-template-columns: 1fr; }
  .nav-links { gap: 1.2rem; }
  .impact-callout { flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 57px; left: 0; right: 0; z-index: 99;
    background: rgba(253,250,244,0.98);
    border-bottom: 1px solid rgba(196,114,42,0.2);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 1.5rem; font-size: 0.95rem; }
  .nav-links .btn-nav { margin: 0.5rem 1.5rem; display: block; text-align: center; border-radius: 3px; }
  .hero-content { padding: 2rem 1.25rem 3.5rem; }
  section { padding: 3.5rem 1.25rem; }
  .tiers-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
