/* ==========================================================================
   Tuki Foundation for Arts, Peace & Cultural Reorientation (TFA-PCR)
   Shared stylesheet — tukifoundation.org
   ========================================================================== */

:root {
  --crimson: #8a1622;
  --crimson-dark: #6d101a;
  --charcoal: #2b2d31;
  --charcoal-light: #4a4d53;
  --ink: #1c1e21;
  --body: #4c5057;
  --paper: #ffffff;
  --paper-alt: #f6f4f2;
  --line: #e3dfdb;
  --gold: #c9a227;
  --radius: 4px;
  --wrap: 1160px;
  --font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson-dark); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--charcoal); color: #d8d9dc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--charcoal-light); max-width: 760px; }
.center .lede { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  color: var(--crimson);
  margin: 0 0 .6em;
  font-weight: 500;
}
.section--dark .eyebrow { color: var(--gold); }

.rule { width: 64px; height: 3px; background: var(--crimson); border: 0; margin: 0 0 1.4em; }
.center .rule { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  background: var(--crimson);
  color: #fff;
  border: 2px solid var(--crimson);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn--dark { background: var(--charcoal); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--charcoal);
  color: #b9bbc0;
  font-size: .82rem;
  letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #b9bbc0; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__tagline { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; }
.topbar__links { display: flex; gap: 18px; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; }
.brand__text { font-family: var(--font-head); line-height: 1.1; }
.brand__name { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.brand__sub { display: block; font-size: .66rem; color: var(--crimson); text-transform: uppercase; letter-spacing: .13em; }

.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .82rem;
  color: var(--charcoal);
  padding: 10px 12px;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--crimson); text-decoration: none; border-bottom-color: var(--crimson); }
.nav a.is-active { color: var(--crimson); border-bottom-color: var(--crimson); }
.nav .nav__cta a {
  background: var(--crimson); color: #fff; border-radius: var(--radius);
  padding: 11px 20px; border-bottom: 0; margin-left: 8px;
}
.nav .nav__cta a:hover { background: var(--crimson-dark); color: #fff; border-bottom-color: transparent; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(115deg, #1f2125 0%, #2b2d31 45%, #57131b 100%);
  color: #fff;
  padding: 108px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { font-size: 1.2rem; color: #e0dedd; max-width: 640px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.pagehead {
  background: var(--charcoal);
  color: #cfd1d5;
  padding: 62px 0 54px;
  border-bottom: 5px solid var(--crimson);
}
.pagehead h1 { color: #fff; margin-bottom: .3em; }
.pagehead p { margin: 0; max-width: 720px; color: #cfd1d5; }
.crumbs { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #8f9298; margin-bottom: 14px; }
.crumbs a { color: #8f9298; }
.crumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 4px solid var(--crimson);
  height: 100%;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--crimson);
  border: 2px solid var(--crimson);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin-bottom: 18px;
}

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 14px; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat__label {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #c8cace; margin-top: 10px;
}

/* ---------- Media / news ---------- */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.post__img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--charcoal), var(--crimson)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-family: var(--font-head); letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; }
.post__body { padding: 22px 24px 26px; }
.post__meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--crimson); margin-bottom: 8px; }
.post h3 { font-size: 1.12rem; }

/* ---------- People ---------- */
.person { text-align: center; }
.person__photo {
  aspect-ratio: 1/1;
  background: linear-gradient(150deg, #35373c, var(--crimson));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-size: 2rem; letter-spacing: .1em;
  margin-bottom: 16px;
}
.person h3 { margin-bottom: .1em; font-size: 1.1rem; }
.person__role { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--crimson); margin-bottom: .8em; }
.person p { font-size: .95rem; }

/* ---------- Callout strip ---------- */
.callout {
  background: var(--crimson);
  color: #fff;
  padding: 54px 0;
}
.callout h2 { color: #fff; }
.callout .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.callout p { margin: 0; color: #f3dfe1; max-width: 620px; }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--crimson);
  padding: 6px 0 6px 24px;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 0 0 1.4em;
}
.quote cite { display: block; font-style: normal; font-size: .88rem; text-transform: uppercase; letter-spacing: .12em; color: var(--crimson); margin-top: 10px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; max-width: 640px; }
.field label {
  display: block; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: .78rem; color: var(--charcoal); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--crimson); outline-offset: 1px; border-color: var(--crimson); }
.field textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: .85rem; color: #7d8188; }
.form-status { font-size: .95rem; color: var(--crimson); min-height: 1.4em; }

/* ---------- Accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 1.05rem; color: var(--ink);
  padding: 18px 40px 18px 0; position: relative;
}
.acc__btn::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--crimson); font-size: 1.5rem; }
.acc__btn[aria-expanded="true"]::after { content: "\2013"; }
.acc__panel { padding: 0 0 18px; }
.acc__panel[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9b9ea4; padding: 62px 0 0; font-size: .95rem; }
.footer h4 {
  color: #fff; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .12em; font-size: .85rem; margin-bottom: 1.1em;
}
.footer a { color: #9b9ea4; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55em; }
.footer__brand img { height: 62px; background: #fff; padding: 6px; border-radius: var(--radius); margin-bottom: 16px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 46px; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .85rem;
}
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-family: var(--font-head); letter-spacing: .04em;
}
.social a:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(0,0,0,.1);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav.is-open { max-height: 640px; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 24px 20px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta a { margin: 10px 0 0; text-align: center; }
  .header .wrap { position: relative; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 74px 0 66px; }
  .topbar__links { display: none; }
  .brand img { height: 46px; }
}
