/* Palette matched to dc37.net scheme, shades and proportions
   Primary green:  #009966  (brand: buttons, headings, links)
   Deep green:     #005e3f  (hovers, deep accents)
   Sage band:      #5a7e6c  (large colored section bands)
   Navy deep:      #0e2f40  (deepest band + footer)
   Accent yellow:  #ffc31e  (small highlights only)
   Off-white bg:   #fefdee  (dominant background)
   Pale sage line: #e5eae8  (borders/dividers)
   Body text:      #313131
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #313131;
  line-height: 1.6;
  background: #fefdee;
}
body.home {
  background: #fefdee url('wurf.png') center / 50% no-repeat fixed;
}

img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- HERO ---------- */
.hero {
  background: rgba(254,253,238,0.30);
  color: #fff;
  padding: 40px 24px 64px;
}

.wurf-credit {
  text-align: center;
  margin: 28px auto 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d2731;
}
.wurf-credit a { color: #005e3f; text-decoration: underline; }
.wurf-credit a:hover { color: #009966; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: linear-gradient(90deg, #1e1e1e 20.67%, #009966 100%);
  border-bottom: 3px solid #ffc31e;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-brand {
  font-weight: 900;
  letter-spacing: 0.15em;
  font-size: 1.05rem;
  color: #ffc31e;
}

.nav-flags {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-flags a {
  display: inline-block;
  line-height: 0;
}
.nav-flags img {
  width: 30px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: transform 0.15s, border-color 0.15s;
  display: block;
}
.nav-flags a:hover img {
  transform: scale(1.12);
  border-color: #ffc31e;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #ffc31e; }

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 48px;
  width: 100%;
  background: linear-gradient(135deg, #005e3f 0%, #009966 100%);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.20);
}

.hero-eyebrow {
  display: inline-block;
  background: #ffc31e;
  color: #313131;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-slogan {
  font-size: 1.35rem;
  font-style: italic;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: #009966;
  color: #fff;
  border: 2px solid #009966;
}
.btn-primary:hover { background: #005e3f; border-color: #005e3f; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: #005e3f; }

.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-photo img {
  max-width: 380px;
  width: 100%;
  border-radius: 8px;
  border: 6px solid #000000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.hero-photo-cta {
  font-size: 1.05rem;
  padding: 14px 36px;
}

.cta-pair {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cta-label {
  background: transparent;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 12px 0;
  font-size: 1.1rem;
}
.cta-arrow {
  font-size: 1.6rem;
  color: #ffc31e;
  line-height: 1;
}
.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.cta-sublink-below {
  color: #ffc31e;
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 12px;
  font-weight: 600;
}
.cta-sublink-below:hover { text-decoration: underline; }

.btn-with-cursor {
  position: relative;
}
.cursor-arrow {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 26px;
  height: 26px;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.cta-residents {
  align-self: end;
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; }

.section-light { background: #fefdee; }
.section-green {
  background: #5a7e6c;
  color: #fff;
}
.section-dark {
  background: #0e2f40;
  color: #fff;
}

/* Jerry Wurf backdrop shows through the whole landing page */
body.home .section-light { background: rgba(254,253,238,0.55); }
body.home .section-green { background: rgba(90,126,108,0.82); }
body.home .section-dark  { background: rgba(14,47,64,0.82); }
body.home .footer        { background: rgba(14,47,64,0.85); }

.section-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #009966;
  margin-bottom: 16px;
  border-left: 4px solid #ffc31e;
  padding-left: 12px;
}
.section-eyebrow.light { color: #ffc31e; }

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #009966;
  max-width: 820px;
}
.section h2.light { color: #fff; }

.lead {
  font-size: 1.2rem;
  max-width: 760px;
  margin-bottom: 0;
}

.quote-credit {
  max-width: 760px;
  text-align: right;
  font-size: 1.2rem;
  margin: 0 0 1.5rem 0;
}
.lead-cta { margin-top: 24px; }
.link-arrow {
  display: inline-block;
  color: #009966;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #ffc31e;
  padding-bottom: 4px;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.link-arrow:hover { color: #005e3f; }
.card-more {
  display: inline-block;
  margin-top: 14px;
  color: #009966;
  font-weight: 700;
  text-decoration: none;
}
.card-more:hover { color: #005e3f; text-decoration: underline; }
.section-green .link-arrow { color: #fff; }
.section-green .link-arrow:hover { color: #ffc31e; }

/* ---------- INNER PAGES ---------- */
.page-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}
.return-bar {
  margin-bottom: 32px;
}
.btn-return {
  display: inline-block;
  background: #009966;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-return:hover { background: #005e3f; }
.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #009966;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.15;
}
.page-subtitle {
  color: #313131;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.page-section {
  margin-bottom: 36px;
}
.page-section h2 {
  font-size: 1.4rem;
  color: #005e3f;
  border-left: 4px solid #ffc31e;
  padding-left: 12px;
  margin-bottom: 14px;
  font-weight: 800;
}
.page-section ol, .page-section ul {
  padding-left: 28px;
}
.page-section li { margin-bottom: 6px; }
.page-section p { margin-bottom: 12px; }
.page-section a { color: #009966; font-weight: 600; }
.page-section a:hover { text-decoration: underline; }
.page-note {
  background: #fff7e0;
  border-left: 4px solid #ffc31e;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* Markdown (prose) pages rendered into .page-wrap get the inner-page styling */
.page-wrap > h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #009966;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.15;
}
.page-wrap > h1 + p {
  color: #313131;
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.page-wrap h2 {
  font-size: 1.4rem;
  color: #005e3f;
  border-left: 4px solid #ffc31e;
  padding-left: 12px;
  margin: 32px 0 14px;
  font-weight: 800;
}
.page-wrap h3 {
  color: #005e3f;
  font-weight: 800;
  margin: 20px 0 8px;
  font-size: 1.1rem;
}
.page-wrap p { margin: 0 0 12px; }
.page-wrap ol, .page-wrap ul { padding-left: 28px; margin: 0 0 16px; }
.page-wrap li { margin-bottom: 6px; }
.page-wrap a { color: #009966; font-weight: 600; }
.page-wrap a:hover { text-decoration: underline; }
.page-wrap blockquote {
  background: #fff7e0;
  border-left: 4px solid #ffc31e;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  margin: 0 0 24px;
  color: #313131;
}

/* Title lists are not linked yet: plain text, no click, no hand cursor */
.titles-col li a {
  cursor: default;
  pointer-events: none;
}

/* ---------- ABOUT ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.bio-item {
  background: rgba(255,255,255,0.08);
  border-left: 4px solid #ffc31e;
  padding: 20px 24px;
  border-radius: 4px;
}

.bio-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffc31e;
  line-height: 1;
  margin-bottom: 8px;
}

.bio-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
}

.bio-prose {
  max-width: 820px;
  margin-top: 24px;
}
.bio-prose p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.bio-prose.light { color: #f3f5f1; }

/* ---------- PLATFORM ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.platform-card {
  background: #fff;
  border-top: 6px solid #ffc31e;
  padding: 32px 28px;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,153,102,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,153,102,0.18);
}

.platform-icon {
  width: 56px;
  height: 56px;
  background: #009966;
  color: #ffc31e;
  font-weight: 900;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
}

.platform-card h3 {
  font-size: 1.5rem;
  color: #009966;
  margin-bottom: 12px;
  font-weight: 800;
}
.platform-card p { color: #313131; }

/* ---------- WHY NOW ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.why-item h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.why-item h3.accent { color: #ffc31e; }

.why-item p {
  color: #d8e2dc;
  font-size: 1rem;
}

/* ---------- JOIN ---------- */
.join-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.join-card {
  background: #fff;
  padding: 28px;
  border-radius: 6px;
  border: 2px solid #009966;
  text-align: center;
}
.join-card h3 {
  color: #009966;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.join-card p {
  margin-bottom: 20px;
  color: #313131;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0e2f40;
  color: #c9d6cd;
  padding: 48px 0 32px;
  border-top: 4px solid #ffc31e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffc31e;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.footer-tag { font-size: 0.95rem; }
.footer-line { margin-bottom: 6px; font-size: 0.95rem; }
.footer-line a { color: #ffc31e; text-decoration: none; }
.footer-line a:hover { text-decoration: underline; }

.footer-fineprint {
  font-size: 0.8rem;
  color: #8a9990;
  line-height: 1.5;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
  .nav { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 240px; }
  .hero-cta { justify-content: center; }
  .hero-slogan { margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* Return-to-home bar text: force beige-on-green so it's visible without hover.
   The generic .page-wrap a rule was overriding .btn-return's white color. */
.page-wrap a.btn-return { color: #fefdee; }
.page-wrap a.btn-return:hover { color: #fefdee; text-decoration: none; }

/* Wurf credit line — 50% larger, yellow */
.wurf-credit,
.wurf-credit a,
.wurf-credit a:hover { color: #ffc31e; }
.wurf-credit { font-size: 1.425rem; }
