/* Golden Rule Foundation — site styles */
:root {
  --green: #1F4433;
  --green-dark: #183628;
  --green-mid: #2E5A44;
  --green-soft: #3F6B47;
  --gold: #F0A33A;
  --gold-deep: #DE942E;
  --cream: #FBF5EA;
  --sand: #F3ECDD;
  --pumpkin: #B5531F;
  --sage: #DCE6D3;
  --ink: #22261F;
  --muted: #4A4F45;
  --body2: #33402F;
  --line: #E6DCC8;
  --field: #CFC6B3;
  --serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3, p, ul, ol { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--pumpkin); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 10; font-weight: 700; }
.skip-link:focus { left: 16px; top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.serif { font-family: var(--serif); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; line-height: 1.3; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); color: var(--ink); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: #2A5843; color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--green); padding: 15px 30px; }
.btn-cream:hover { background: #FFFFFF; color: var(--green); }
.btn-outline { color: var(--green); border: 1.5px solid var(--green); padding: 12px 24px; background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-outline-light { color: var(--cream); border: 1.5px solid var(--cream); padding: 13px 28px; background: transparent; }
.btn-outline-light:hover { background: var(--cream); color: var(--green); }
.btn-hero { padding: 14px 28px; }
.btn-lg { padding: 15px 34px; font-size: 18px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Header and nav ---------- */
.site-header, .green { background: var(--green); color: var(--cream); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 16px; font-weight: 600; }
.nav-links a { color: var(--cream); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav-links a.nav-donate { background: var(--gold); color: var(--ink); padding: 10px 22px; border-radius: 999px; text-decoration: none; }
.nav-links a.nav-donate:hover { background: var(--gold-deep); color: var(--ink); }

/* ---------- Homepage hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(64px, 8vw, 120px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.08; color: var(--cream); }
.hero-lead { font-size: 19px; color: var(--sage); max-width: 540px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-art, .band-art { flex: 1 1 420px; min-width: 0; }

/* Picture panels: an illustration now, swap in a photo later */
.art { overflow: hidden; background: var(--green-mid); }
.art svg, .art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-hero { aspect-ratio: 5 / 4; border-radius: 28px 28px 28px 120px; }
.art-band { aspect-ratio: 4 / 3; border-radius: 120px 28px 28px 28px; }
.art-empty { background: transparent; border: 1.5px dashed #6F9A7C; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.art-empty span { font-size: 15px; color: var(--sage); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; color: var(--green); }
.underline-gold { text-decoration: underline; text-decoration-color: var(--gold-deep); text-decoration-thickness: 4px; text-underline-offset: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }

.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--green); line-height: 1.2; }
.card p { color: var(--muted); }
.card .btn-end { align-self: flex-start; margin-top: auto; }
.card .btn-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.intro-cards { padding-top: clamp(56px, 7vw, 96px); }

.step { background: var(--sage); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--green-soft); line-height: 1; }
.step h3 { font-size: 21px; font-weight: 700; color: var(--green); }
.step p { color: var(--body2); }

/* Green band */
.band { background: var(--green); color: var(--cream); }
.band-inner { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.band-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.band-text .section-title { color: var(--cream); }
.band-text p { color: var(--sage); }

/* Gift tiers */
.tier { text-decoration: none; color: var(--ink); background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 8px; transition: transform .15s ease, box-shadow .15s ease; }
.tier:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(31, 68, 51, .10); }
.tier-featured { border: 2px solid var(--gold); }
.tier-amount { font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--green); line-height: 1.2; }
.tier-head { font-weight: 700; font-size: 19px; }
.tier-sub { color: var(--muted); font-size: 16px; }
.give-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.give-row p { color: var(--muted); font-size: 16px; max-width: 620px; }

/* Partner call-out */
.cta-wrap { padding-bottom: clamp(64px, 8vw, 112px); }
.cta-band { background: var(--pumpkin); color: #FFFFFF; border-radius: 32px; padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.cta-text p { font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: var(--sage); }
.footer-inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 320px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--cream); }
.footer-brand p { font-size: 16px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col-title { font-weight: 700; color: var(--cream); margin-bottom: 4px; }
.footer-col a { color: var(--sage); text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-col span { padding: 4px 0; }
.footer-bottom { border-top: 1px solid var(--green-mid); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-bottom a { color: var(--sage); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Inner page header ---------- */
.page-hero { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 16px; }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: var(--sage); font-size: 15px; font-weight: 700; text-decoration: none; padding: 6px 0; }
.back-link:hover { color: var(--gold); }
.page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; color: var(--cream); }
.page-lead { font-size: 19px; color: var(--sage); max-width: 640px; }
.page-hero .btn { align-self: flex-start; margin-top: 8px; }
.area-note { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--cream); }

/* ---------- Forms ---------- */
.form-layout { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.form-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-side h2.side-title { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--green); }
.form-side ol { padding-left: 22px; color: var(--body2); display: flex; flex-direction: column; gap: 10px; }
.form-side h3 { font-size: 18px; font-weight: 700; color: var(--green); }
.form-side .small { font-size: 16px; color: var(--body2); }
.note { background: var(--sage); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.note p { font-size: 16px; color: var(--body2); }

.form-card { flex: 2 1 560px; min-width: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.fields { border: none; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 20px; }
.fields-narrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fields-stack { border: none; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fields legend, .fields-stack legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; color: var(--green); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--field); border-radius: 12px; background: #FFFFFF; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(240, 163, 58, .35); }
.radio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 16px; }
.radio-row .radio-label { font-size: 15px; font-weight: 700; color: var(--green); }
.radio-row label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--green); width: 20px; height: 20px; flex-shrink: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--body2); }
.check input { margin: 2px 0 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 4px 20px; font-size: 16px; color: var(--body2); }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.form-card .btn-submit { align-self: flex-start; font-size: 17px; padding: 15px 34px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FBE9E1; color: #7A2E10; border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.form-done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 8px 0; }
.form-done h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--green); }
.form-done p { color: var(--body2); }

/* ---------- Donate ---------- */
.toggle { display: flex; gap: 4px; background: var(--sand); border-radius: 999px; padding: 4px; }
.toggle button { flex: 1 1 0; font: inherit; font-weight: 700; font-size: 16px; padding: 12px 16px; border: none; border-radius: 999px; background: transparent; color: var(--green); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--green); color: var(--cream); }
.amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.amount { flex: 1 1 96px; font: inherit; font-weight: 700; font-size: 19px; padding: 14px 8px; border-radius: 14px; border: 1.5px solid var(--field); background: #FFFFFF; color: var(--green); cursor: pointer; }
.amount:hover { border-color: var(--green); }
.amount[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--cream); }
.other-amount input { max-width: 240px; }
.impact-line { display: flex; align-items: center; gap: 12px; background: var(--sage); border-radius: 16px; padding: 14px 18px; }
.impact-line p { font-size: 16px; font-weight: 600; color: var(--green); }
.donate-btn { font-size: 19px; padding: 17px 34px; width: 100%; }
.secure-note { margin-top: -12px; font-size: 14px; color: var(--muted); text-align: center; }
.secure-note svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.soon { background: var(--sand); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.soon h3 { font-size: 18px; font-weight: 700; color: var(--green); }
.soon p { font-size: 16px; color: var(--body2); }
.donate-aside { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.aside-card.sage { background: var(--sage); border: none; }
.aside-card h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--green); }
.aside-card p, .aside-card li { font-size: 16px; color: var(--body2); }
.aside-card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.aside-plain { padding: 0 4px; display: flex; flex-direction: column; gap: 8px; }
.aside-plain h2 { font-size: 18px; font-weight: 700; color: var(--green); }
.aside-plain p { font-size: 15px; color: var(--muted); }

/* ---------- Partners ---------- */
.ways { padding-top: clamp(56px, 7vw, 104px); display: flex; flex-direction: column; gap: 36px; }
.grid-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.way { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.way h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--green); line-height: 1.25; }
.way p { color: var(--muted); }
.way ul { padding-left: 20px; color: var(--body2); display: flex; flex-direction: column; gap: 4px; }
.why { background: var(--green); color: var(--cream); margin-top: clamp(56px, 7vw, 104px); }
.why-inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 36px; }
.why .section-title { color: var(--cream); }
.why .grid-3 { gap: 32px; }
.why-item { display: flex; flex-direction: column; gap: 10px; }
.why-item h3 { font-size: 21px; font-weight: 700; color: var(--cream); }
.why-item p { color: var(--sage); }
.start-side p.lead { color: var(--muted); }
.start-side h3 { font-size: 19px; font-weight: 700; color: var(--green); margin-top: 10px; }
.start-side .small { font-size: 15px; color: var(--muted); }

/* ---------- Simple text pages ---------- */
.prose { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--green); margin-top: 18px; }
.prose p, .prose li { color: var(--body2); }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
