/* 4thaOne — black & gold brand. Headings: Cormorant Garamond. Body: Source Sans 3. */
:root {
  --black: #101010;
  --ink: #1c1a16;
  --ink-soft: #4d4a44;
  --gold: #e6b75b;
  --gold-deep: #c99a3a;
  --gold-soft: #f3e3bd;
  --cream: #faf6ee;
  --paper: #ffffff;
  --line: #e7e0d2;
  --max: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16,16,16,.08);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--ink-soft); }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: var(--gold-deep); margin-bottom: .8em; }
.display { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; font-style: italic; line-height: 1.3; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; line-height: 1.1; font-size: 1rem; letter-spacing: .02em; transition: transform .15s, background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--black); color: var(--gold); border-color: var(--black); }
.btn-dark:hover { color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Announce + header */
.announce { background: var(--gold); color: var(--black); text-align: center; font-weight: 600; padding: 8px 16px; font-size: .95rem; }
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(230,183,91,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.menu li { position: relative; }
.menu-top { font: inherit; font-weight: 600; font-size: 1rem; color: #fff; background: none; border: 0; padding: 10px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-radius: 6px; }
.menu-top:hover, .menu-top[aria-expanded="true"] { color: var(--gold); }
.menu .sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #1b1b1b; border: 1px solid rgba(230,183,91,.25); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.4); display: none; }
.menu li.open > .sub { display: block; }
.menu .sub a { display: block; padding: 10px 18px; color: #f2eee4; text-decoration: none; font-weight: 500; }
.menu .sub a:hover, .menu .sub a[aria-current] { background: rgba(230,183,91,.12); color: var(--gold); }
.btn-donate { padding: 12px 24px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: center; color: #fff; background: var(--black) var(--hero) var(--hero-pos, 50% 50%) / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(16,16,16,.35) 40%, rgba(16,16,16,.85) 100%); z-index: -1; }
.hero-inner { padding: 110px 0 90px; max-width: 820px; margin-left: max(20px, (100% - var(--max)) / 2); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.2rem); text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 640px; color: #f2eee4; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.page-hero { background: var(--black); color: #fff; padding: 72px 0 56px; position: relative; isolation: isolate; }
.page-hero.has-img { background: var(--black) var(--hero) var(--hero-pos, 50% 50%) / cover no-repeat; min-height: 420px; display: grid; align-items: end; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,16,.35), rgba(16,16,16,.85)); z-index: -1; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .hero-sub { max-width: 720px; }

/* Sections */
.section { padding: 80px 0; }
.section.dark { background: var(--black); color: #f2eee4; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.gold { background: var(--gold); color: var(--black); }
.section.gold .eyebrow { color: var(--black); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.row { display: flex; justify-content: space-between; align-items: baseline; max-width: none; gap: 20px; }
.mission { background: var(--paper); border-bottom: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { border-top: 2px solid var(--gold); padding-top: 22px; }
.pillar-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.pillar h3 { font-size: 1.35rem; }
.pillar p { color: #cfc8b8; font-size: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-text .btn { margin-top: 10px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; margin: 30px 0 20px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; font-weight: 700; }
.stat span { display: block; font-weight: 600; margin-top: 8px; }
.cards .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; text-decoration: none; color: inherit; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.cards .card:hover { transform: translateY(-3px); border-color: var(--gold); }
.cards .card p { color: var(--ink-soft); flex: 1; }
.card-link { font-weight: 700; color: var(--gold-deep); }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card time, .post-card h3, .post-card p { padding-inline: 22px; }
.post-card time { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold-deep); font-weight: 600; margin-top: 20px; }
.post-card h3 { margin: 8px 0 6px; font-size: 1.3rem; }
.post-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 22px; }

/* CTA band + footer */
.cta-band { background: var(--black); color: #fff; padding: 64px 0; border-top: 1px solid rgba(230,183,91,.25); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--gold); margin-bottom: .2em; }
.cta-band p { margin: 0; max-width: 600px; color: #d9d2c2; }
.site-footer { background: #0a0a0a; color: #cfc8b8; padding: 60px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 170px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 14px; }
.site-footer a { color: #e9e2d2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #222; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8f887a; }
.footer-bottom p { margin: 0; }
.mobile-donate { display: none; }

/* Prose (admin-authored content) */
.prose { font-size: 1.1rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose img.img-right { float: right; width: 42%; margin: .3em 0 1em 2em; }
.prose img.img-left { float: left; width: 42%; margin: .3em 2em 1em 0; }
.prose img.img-sm { width: 28%; } .prose img.img-lg { width: 55%; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.6em 0; padding: .2em 0 .2em 1.4em; font-family: var(--font-display); font-size: 1.5rem; font-style: italic; line-height: 1.35; color: var(--ink); }
.prose .callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 22px 26px; border-radius: var(--radius); margin: 1.6em 0; }
.prose .cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prose .cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prose .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.prose .card h3 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .video { position: relative; aspect-ratio: 16/9; margin: 1.6em 0; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.prose .btn { margin: .3em .5em .3em 0; }
.prose::after { content: ""; display: table; clear: both; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px; margin-top: 40px; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--black); margin-bottom: 16px; display: grid; place-items: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo img.placeholder { width: 55%; height: auto; opacity: .9; }
.member h3 { margin-bottom: .1em; }
.member .role { color: var(--gold-deep); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.member .bio { font-size: 1rem; color: var(--ink-soft); }

/* Forms */
.form-split { align-items: start; }
.form label { display: block; font-weight: 600; margin-bottom: 16px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 12px 14px; border: 1px solid #cfc7b5; border-radius: 8px; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; }
.form legend { font-weight: 600; padding: 0 6px; }
.form .check { font-weight: 400; margin-bottom: 6px; display: flex; gap: 8px; align-items: flex-start; }
.form .check input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; }
.notice.success { background: #e8f5e4; border: 1px solid #b6dcad; }
.notice.error { background: #fdeaea; border: 1px solid #efb3b3; }
.contact-details p { margin-bottom: 14px; }
.give-box { background: var(--black); color: #f2eee4; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); align-self: start; position: sticky; top: 110px; }
.give-box h2, .give-box h3 { color: var(--gold); }
.give-box hr { border: 0; border-top: 1px solid #333; margin: 26px 0; }
.give-box .btn { width: 100%; text-align: center; font-size: 1.3rem; padding: 14px 34px; }
.give-box a:not(.btn) { color: var(--gold); }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 84px 0 0 0; background: var(--black); flex-direction: column; align-items: stretch; padding: 16px 20px 110px; overflow-y: auto; display: none; gap: 10px; }
  .site-nav.open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-top { width: 100%; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid #222; font-size: 1.15rem; border-radius: 0; }
  .menu .sub { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px; }
  .menu li.open > .sub { display: block; }
  .menu .sub a { padding: 12px 18px; font-size: 1.05rem; }
  .btn-donate { display: none; }
  .mobile-donate { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
  body { padding-bottom: 76px; }
  .hero { min-height: 70vh; }
  .hero-inner { padding: 80px 0 70px; }
  .split, .grid-3, .steps, .grid-4 { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .split-img { order: -1; }
  .split-img img { aspect-ratio: 16/11; }
  .prose .cols-2, .prose .cols-3 { grid-template-columns: 1fr; }
  .prose img.img-right, .prose img.img-left { float: none; width: 100%; margin: 1.2em 0; }
  .give-box { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .cards .card { transition: none; } }

/* Embedded giving */
.give-form .amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.give-form .amt { font: inherit; font-weight: 700; padding: 12px 6px; border-radius: 8px; border: 2px solid #3a3a3a; background: #1b1b1b; color: #fff; cursor: pointer; }
.give-form .amt:hover { border-color: var(--gold); }
.give-form .amt.on { background: var(--gold); border-color: var(--gold); color: var(--black); }
.give-custom { display: block; font-weight: 600; margin-bottom: 16px; color: #f2eee4; }
.give-custom .money { display: flex; align-items: center; gap: 6px; margin-top: 6px; background: #fff; border-radius: 8px; padding: 0 12px; color: var(--black); font-size: 1.3rem; }
.give-custom input { font: inherit; font-size: 1.3rem; font-weight: 700; border: 0; background: transparent; width: 100%; padding: 10px 0; color: var(--black); outline: none; }
.give-form .btn { width: 100%; text-align: center; }
.give-form .btn[disabled] { opacity: .6; cursor: wait; }
.give-status { min-height: 1.2em; color: var(--gold); }
.give-thanks h3 { color: var(--gold); }
