/* ===== Growing Hope - Wayback-aligned styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400&display=swap');

:root {
  --teal: #0a6160;
  --teal-dark: #074b4a;
  --teal-mid: #13bdba;
  --aqua-light: #a7f6f5;
  --cyan: #4aedea;
  --cyan-hover: #58ffff;
  --cyan-dark: #34d4d1;
  --grey: #e8eaec;
  --dark: #1c1c1c;
  --text: #1c1c1c;
  --muted: #555555;
  --bg: #ffffff;
  --max: 1080px;
  --font-head: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Lato', 'Helvetica Neue', 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(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-mid); }

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; letter-spacing: 0; font-weight: 900; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3e6e8;
}
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 22px; max-width: var(--max); margin: 0 auto;
}
.nav .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav .logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nav .logo span {
  font-family: var(--font-head);
  font-weight: 800; letter-spacing: 1.5px; color: var(--teal); font-size: 1.08rem;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .dropbtn {
  display: block; padding: 10px 12px; text-decoration: none;
  color: var(--dark); font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase;
  background: none; border: none; cursor: pointer; white-space: nowrap;
}
.nav-links a:hover, .nav-links .dropbtn:hover { color: var(--teal-mid); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #e3e6e8; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); min-width: 210px; padding: 6px 0;
  z-index: 60;
}
.nav-links li:hover > .dropdown-menu,
.nav-links li:focus-within > .dropdown-menu,
.nav-links li.open > .dropdown-menu { display: block; }
.dropdown-menu a { padding: 9px 16px; text-transform: none; letter-spacing: 0.3px; font-weight: 600; }
.nav-links .btn-sponsor {
  background: var(--cyan); color: rgba(0, 0, 0, 0.85) !important;
  padding: 9px 22px !important; border-radius: 1000px; font-weight: 700;
  transition: background 0.15s;
}
.nav-links .btn-sponsor:hover { background: var(--cyan-hover); color: #000 !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; margin-left: auto; color: var(--teal); padding: 4px 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; background: var(--cyan); color: rgba(0, 0, 0, 0.85);
  padding: 13px 30px; border-radius: 1000px; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; font-size: 0.85rem; transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--cyan-hover); color: #000; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--teal-mid); color: var(--teal); }
.btn-outline:hover { background: var(--cyan); border-color: var(--cyan); color: #000; }

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-grey, .section-soft { background: var(--grey); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h1, .section-teal h2, .section-teal h3 { color: var(--aqua-light); }
.section-dark { background: var(--dark); color: #f2f2f2; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto; }
.section-teal .lead, .section-dark .lead { color: #e2f5f5; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; color: var(--teal-mid); font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; margin-bottom: 10px; }
h2 { color: var(--teal); font-weight: 800; font-size: 2rem; margin-top: 0; }

/* ===== Hero (subpages & home) ===== */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #fff; text-align: center; padding: 72px 0;
}
.hero h1 { font-size: 2.8rem; margin: 0 0 14px; color: #fff; letter-spacing: 2px; text-transform: uppercase; font-weight: 800; }
.hero .tagline { font-style: italic; font-size: 1.3rem; color: var(--aqua-light); margin: 0 0 20px; font-family: var(--font-body); }
.hero p { max-width: 760px; margin: 0 auto 14px; font-size: 1.1rem; color: #e6f4f4; }

.hero-home {
  position: relative;
  background-color: #021717;
  background-image: linear-gradient(180deg, rgba(2, 23, 23, 0.56) 0%, rgba(10, 97, 96, 0.44) 100%), url('assets/site/hero-bg.jpg');
  background-size: cover;
  background-position: center 45%;
  padding: 112px 0 128px;
}
.hero-home h1 { font-size: 3.6rem; letter-spacing: 4px; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero-home .brand-aqua { color: #13bebb; }
.hero-home .tagline { font-size: 1.45rem; color: #ffffff; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.hero-home p { text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.hero-arrow {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 44px;
  pointer-events: none;
  background: #ffffff;
  clip-path: polygon(0 100%, 0 0, 50% 100%, 100% 0, 100% 100%);
}

/* ===== Movement two-col on Home ===== */
.movement-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.movement-emblem img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
}
.emblem-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
  border-radius: 50%;
}

/* ===== Quote ===== */
.quote { text-align: center; font-style: italic; font-size: 1.4rem; max-width: 840px; margin: 0 auto; color: var(--teal); font-family: var(--font-body); line-height: 1.6; }
.section-teal .quote, .section-dark .quote { color: #fff; }
.quote cite { display: block; margin-top: 14px; font-size: 1rem; color: var(--muted); font-style: normal; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.5px; }
.section-teal .quote cite, .section-dark .quote cite { color: var(--cyan); }

/* ===== Video ===== */
.video-wrap { position: relative; width: 100%; max-width: 760px; margin: 24px auto; aspect-ratio: 16 / 9; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,0.1); }

/* ===== Banner image ===== */
.banner-photo {
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto 36px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* ===== Cards / blog grid ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; margin-top: 30px; }
.card {
  border: 1px solid #dde2e4; border-radius: 10px; overflow: hidden;
  background: #fff; transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 10px 26px rgba(10, 97, 96, 0.12); transform: translateY(-2px); }
.card-thumb-link { display: block; text-decoration: none; }
.card-thumb {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  background: #dfecec;
}
.card-placeholder {
  width: 100%; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--teal) 0%, #108b88 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; text-align: center;
  color: var(--aqua-light); font-family: var(--font-head); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase;
}
.card .card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; font-size: 1.06rem; line-height: 1.35; }
.card h3 a { text-decoration: none; color: var(--teal); }
.card h3 a:hover { color: var(--teal-mid); }
.card .meta { font-size: 0.78rem; color: var(--muted); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.5px; margin: auto 0 0; padding-top: 8px; }

/* Sponsor logo tiles on Mission 2022 */
.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.sponsor-logo-tile {
  background: #ffffff;
  border: 1px solid #dde2e4;
  border-radius: 10px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.sponsor-logo-tile img {
  max-height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ===== Article ===== */
.article { max-width: 780px; margin: 0 auto; }
.article h1 { color: var(--teal); font-size: 2.1rem; margin: 12px 0 10px; text-align: center; }
.article h2, .article h3 { color: var(--teal); margin-top: 28px; }
.article .post-meta {
  color: var(--teal-mid); font-size: 0.85rem; font-family: var(--font-head);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 26px;
  text-align: center;
}
.article img {
  border-radius: 10px;
  margin: 24px auto;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}
.article p { margin: 16px 0; }

/* Post prev/next navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid #dde2e4;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
}
.post-nav a {
  text-decoration: none;
  color: var(--teal);
  padding: 8px 14px;
  border-radius: 8px;
  background: #f4f7f7;
  transition: background 0.15s;
}
.post-nav a:hover { background: #e1f4f4; color: var(--teal-dark); }

/* Links list */
.link-list { list-style: none; padding: 0; max-width: 760px; margin: 20px auto; }
.link-list li { padding: 12px 0; border-bottom: 1px solid #eee; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #e9efe6; padding: 52px 0 30px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 26px; }
.footer-cols h4 { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; margin: 0 0 10px; color: var(--cyan); }
.footer-cols p, .footer-cols a { font-size: 0.95rem; margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 34px; padding-top: 18px; font-size: 0.85rem; text-align: center; color: #b7c3bd; }

/* ===== Forms ===== */
.form { max-width: 620px; margin: 26px auto 0; text-align: left; }
.form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; margin: 16px 0 6px; color: var(--teal); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd4d4; border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { border: none; cursor: pointer; margin-top: 22px; }



/* Archive notice */
.archive-banner {
  background: var(--teal);
  color: #e6f4f4;
  text-align: center;
  padding: 16px 0;
  font-size: 1rem;
  line-height: 1.55;
}
.archive-banner p { margin: 0 auto; max-width: 840px; }
.footer-bottom .archive-note { color: #d5e4df; margin: 0 0 10px; }

/* Page titles, matching original centred title groups */
.page-title-block { text-align: center; padding: 12px 0 8px; }
.page-title-block h1 {
  font-size: 2.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}
.page-title-block .page-sub {
  color: #021717;
  font-size: 1.25rem;
  font-style: italic;
  margin: 0 auto 8px;
}

/* Blog post cover header (original s-blog-header) */
.post-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-color: #021717;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 0;
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 23, 23, 0.12) 0%, rgba(2, 23, 23, 0.78) 100%);
}
.post-hero-inner { position: relative; z-index: 1; width: 100%; padding: 96px 22px 48px; }
.post-hero h1 {
  color: #fff;
  font-size: 2.45rem;
  margin: 0 0 12px;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  text-transform: none;
}
.post-hero .post-meta { color: var(--aqua-light); margin: 0; text-align: center; }

/* Four sponsorship benefit squares */
.receive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.receive-grid .card { min-height: 100%; }
.receive-grid .card h3 { color: var(--teal); }

/* Permaculture feature list (original featureListC) */
.feature-list {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.feature-row { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.feature-row.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.feature-row.has-media.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.feature-row.has-media.reverse .feature-media { order: 2; }
.feature-row h3 { color: var(--teal); margin: 0 0 12px; font-size: 1.55rem; }
.feature-media img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  margin: 0;
}

@media (max-width: 900px) {
  .receive-grid { grid-template-columns: 1fr; }
  .feature-row.has-media,
  .feature-row.has-media.reverse { grid-template-columns: 1fr; }
  .feature-row.has-media.reverse .feature-media { order: 0; }
  .post-hero { min-height: 280px; }
  .post-hero h1 { font-size: 1.7rem; }
  .post-hero-inner { padding: 72px 22px 36px; }
  .sponsor-logos { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
  .sponsor-logo-tile { min-height: 260px; padding: 16px; }
  .sponsor-logo-tile img { max-height: 240px; }
  .page-title-block h1 { font-size: 1.85rem; letter-spacing: 2px; }
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid #e3e6e8; padding: 8px 14px 16px; margin-left: 0;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-links .btn-sponsor { text-align: center; margin-top: 8px; }
  .dropdown-menu { position: static; border: none; box-shadow: none; padding-left: 14px; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 2.1rem; }
  .hero-home { padding: 78px 0 96px; }
  .hero-home h1 { font-size: 2.45rem; letter-spacing: 2px; }
  .hero-arrow { height: 28px; }
  .movement-wrap { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .movement-emblem img { width: 170px; height: 170px; }
  section { padding: 48px 0; }
  .article h1 { font-size: 1.7rem; }
}
