/* coranunes.org — Cora Nunes Foundation.

   Palette and type are the site's own, measured off the live pages rather than
   chosen: getComputedStyle reported body #f9f9f9 on #272727 ink, a #f09819 gold
   full-bleed band, a #4D5B48 olive band, Cardo 400 headings (h1 ~58px) and Inter
   body. An earlier pass of this file invented a green/sand palette in Georgia,
   which looked fine and was not this site.

   Note the twentytwentyfour preset names are inverted from what they suggest:
   `base` is the dark #272727 and `contrast` is the light #f9f9f9, but the page
   is laid out light-on-dark-header. Trust the measurements, not the names. */

@font-face {
  font-family: "Cardo";
  src: url("/fonts/cardo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f9f9f9;
  --ink: #272727;
  --ink-2: #303030;
  --muted: #5F584F;
  --muted-2: #6b6b6b;
  --line: #e0ded9;
  --gold: #f09819;
  --olive: #4D5B48;
  --brown: #6D533C;
  --rust: #973C20;
  --maxw: 74rem;
  --readw: 44rem;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .18em; }
a:hover { color: var(--rust); }

/* ---------- header: dark bar, logo left, underlined nav right ---------- */

.topbar {
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: .9rem clamp(1rem, 4vw, 3rem);
}
.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark img { width: 62px; height: 62px; }
.topbar nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar nav a {
  color: var(--paper); font-size: .95rem;
  text-decoration: underline; text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--gold); }

/* ---------- layout ---------- */

main { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem) 4rem; }
main.page { padding-top: 2.5rem; }

h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.66rem);   /* 58.66px measured at 1440 */
  line-height: 1.1; margin: 0 0 1rem; letter-spacing: -.01em;
}
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.2; margin: 2.5rem 0 .75rem; }
h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: 0 0 .3rem; }

.eyebrow { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.lede { font-size: 1.1rem; }
.prose { max-width: var(--readw); }
.prose p { margin: 0 0 1.3rem; }
.muted { color: var(--muted-2); }

.btn {
  display: inline-block; margin-top: .6rem;
  background: var(--gold); color: var(--ink); text-decoration: none;
  padding: .75rem 1.9rem; border-radius: 2rem;
  font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 500;
}
.btn:hover { background: var(--ink); color: var(--gold); }

/* ---------- hero: copy left, stacked badges right ---------- */

.hero {
  display: grid; gap: 2rem 3rem; align-items: center;
  grid-template-columns: 1fr;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
}
@media (min-width: 52rem) { .hero { grid-template-columns: 1.5fr 1fr; } }
.hero h1 { margin-bottom: .25rem; }
.hero .hero-sub { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.2; margin: 0 0 1.2rem; }
.hero p { max-width: 34rem; }
.hero-badge { justify-self: center; max-width: 15rem; }

/* ---------- full-bleed bands ----------
   The gold and olive bands run edge to edge on the original. Inside a
   max-width main, that needs the 100vw trick rather than a wider container. */

.band-full {
  width: 100vw; margin-left: calc(50% - 50vw);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3rem);
}
.band-gold { background: var(--gold); }
.band-olive { background: var(--olive); color: var(--paper); }
.band-olive h2, .band-olive a { color: var(--paper); }
.band-inner { max-width: var(--maxw); margin: 0 auto; }

/* ---------- pull quote (the Dalí band) ---------- */

.pullquote { text-align: center; max-width: 44rem; margin: 0 auto; }
.pullquote blockquote {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.3;
}
.pullquote blockquote p { margin: 0; }
.pullquote img { width: 5rem; height: 5rem; border-radius: 50%; margin: 1.8rem auto .7rem; object-fit: cover; }
.pullquote figcaption { font-size: .9rem; }

/* ---------- recommendations ---------- */

.recs { display: grid; gap: 2rem 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.rec img { width: 100%; border-radius: 4px; background: #fff; }
.rec p { margin: .7rem 0 0; font-size: .86rem; line-height: 1.55; color: var(--muted-2); }
.rec a { font-weight: 600; color: var(--ink); }

/* ---------- other awards ---------- */

.awards { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.award { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: start; }
.award img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
.award p { margin: 0; font-size: .9rem; color: var(--muted-2); }
.award a { font-weight: 600; }

/* ---------- notices ---------- */

.notice {
  background: #fff; border-left: 4px solid var(--gold);
  padding: 1.1rem 1.3rem; margin: 0 0 2.5rem; max-width: var(--readw);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.notice p { margin: 0; }
.notice-closed { border-left-color: var(--rust); }

/* ---------- award archive ---------- */

.award-logo { float: right; width: 11rem; margin: 0 0 1rem 1.5rem; }
@media (max-width: 40rem) { .award-logo { float: none; margin: 0 auto 1.5rem; } }

.cols { display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); max-width: var(--readw); }
.cols ul { margin: 0 0 1.5rem; padding-left: 1.2rem; }

.faq { margin-top: 1rem; max-width: var(--readw); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: .9rem 0; font-weight: 600; }
.faq summary:hover { color: var(--rust); }
.faq details p { margin: 0 0 1rem; color: var(--muted-2); }

/* ---------- legal ---------- */

.legal h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 2rem 0 .4rem; }
.legal h3 { font-size: 1rem; margin: 1.5rem 0 .3rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 3rem;
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: .9rem;
}
.site-footer p { margin: 0; }
.foot-brand { font-family: var(--serif); font-size: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--gold); }

/* ---------- partnership + olive prose band ---------- */

.prose-band { max-width: 46rem; }
.prose-band h2 { margin-top: 0; }
.partner-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 52rem) { .partner-grid { grid-template-columns: 1fr 1fr; } }
.partner-grid img { border-radius: 6px; }

.prose ol { padding-left: 1.3rem; }
.prose ol li { margin: 0 0 .6rem; }
