/* ==========================================================================
   GiveLife — design system
   Editorial NGO identity: warm paper, deep ink, terracotta, Newsreader + Inter
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400&family=Inter:wght@300;400;500;600&family=Noto+Sans+Tamil:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #faf5ec;
  --paper-2: #f2e9da;
  --surface: #fffdf9;
  --ink: #15211e;
  --ink-2: #33443e;
  --muted: #66756f;
  --brand: #b8452f;
  --brand-dark: #8f3220;
  --sand: #e9dcc5;
  --gold: #c2954c;
  --sage: #6f8a72;
  --line: rgba(21, 33, 30, 0.14);
  --line-soft: rgba(21, 33, 30, 0.08);
  --line-light: rgba(250, 245, 236, 0.22);

  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-tamil: 'Noto Sans Tamil', 'Nirmala UI', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 1.35rem;
  --header-h: 72px;

  --r-sm: 4px;
  --r-md: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(184, 69, 47, 0.18); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 4.25rem; }
.section--tight { padding-block: 3rem; }
.section--paper2 { background: var(--paper-2); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--paper); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.stack > * + * { margin-top: 1.15rem; }

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(2.55rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
}

.h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.55; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--plain { color: var(--muted); }

.section--ink .eyebrow { color: var(--gold); }

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}

.tamil {
  font-family: var(--font-tamil);
  font-size: 1.15rem;
  line-height: 1.9;
  letter-spacing: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover::after { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--sand); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--brand); color: #fff8f0; }
.btn--solid:hover { background: var(--brand-dark); }
.btn--ghost { border-color: rgba(21, 33, 30, 0.28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(21, 33, 30, 0.04); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-light { border-color: rgba(250, 245, 236, 0.5); color: var(--paper); }
.btn--outline-light:hover { border-color: var(--paper); background: rgba(250, 245, 236, 0.1); }
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.82rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   6. Masthead
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.masthead.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 24px -20px rgba(21, 33, 30, 0.6);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.brand img {
  height: 38px;
  width: auto;
}

.nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 1.45rem;
}
.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.masthead__actions .btn { padding: 0.55rem 0.85rem; font-size: 0.78rem; }

.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .masthead__actions { margin-left: 0.5rem; gap: 0.6rem; }
  .masthead__actions .btn { padding: 0.62rem 1.15rem; font-size: 0.82rem; }
  .brand img { height: 46px; }

}

/* Mobile menu panel */
@media (max-width: 1099px) {
  /* The masthead's backdrop-filter makes it the containing block for fixed
     descendants, so anchor the panel to the header and size it explicitly. */
  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 1.5rem var(--gutter) calc(3rem + env(safe-area-inset-bottom));
    background: var(--paper);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
                visibility var(--dur) var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    flex: 0 0 auto;
    width: 100%;
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
  }
  .nav a[aria-current="page"] { color: var(--brand); }
  .nav a::after {
    content: "→";
    float: right;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted);
  }
}

/* --------------------------------------------------------------------------
   7. Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 1.5rem;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 2rem;
}
.hero__copy { padding-top: 0.5rem; }

.hero__title {
  font-size: clamp(2.7rem, 8.4vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand);
}

.hero__lede {
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 1.9rem;
}

.hero__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero__caption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  background: rgba(21, 33, 30, 0.78);
  backdrop-filter: blur(6px);
  border-radius: var(--r-sm);
  color: rgba(250, 245, 236, 0.92);
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.hero__caption::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 2.25rem;
}
.hero__rail div { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__rail dt,
.hero__rail span:first-child {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.1;
}
.hero__rail span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 860px) {
  .hero { padding-top: 2.4rem; }
  .hero__grid {
    grid-template-columns: 1fr 0.92fr;
    gap: 3.5rem;
    align-items: center;
  }
  .hero__media { aspect-ratio: 4 / 4.4; }
  .hero__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.8rem;
    padding-bottom: 3rem;
  }
  .hero__rail div { flex-direction: row; align-items: baseline; gap: 0.7rem; }
  .hero__rail span:last-child { font-size: 0.7rem; }
}

/* --------------------------------------------------------------------------
   8. Motto band
   -------------------------------------------------------------------------- */
.motto {
  background: var(--ink);
  color: var(--paper);
  padding-block: 3.25rem;
}
.motto__inner {
  display: grid;
  gap: 1.4rem;
}
.motto .tamil {
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  color: var(--paper);
  line-height: 1.75;
}
.motto__translation {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: rgba(250, 245, 236, 0.72);
  max-width: 44ch;
  line-height: 1.5;
}
.motto__label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 900px) {
  .motto__inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }
  .motto { padding-block: 4rem; }
}

/* --------------------------------------------------------------------------
   9. Section head
   -------------------------------------------------------------------------- */
.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.section-head__aside {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 38ch;
}
.section-head__aside .link-arrow { margin-top: 1rem; }
.section--ink .section-head__aside { color: rgba(250, 245, 236, 0.65); }

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  .section-head__aside { justify-self: end; text-align: left; }
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}
.stat { border-top: 1px solid var(--line-light); padding-top: 1.1rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.6vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
  display: block;
}
.stat__label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, 0.62);
  max-width: 22ch;
}
.stat__note { font-size: 0.8rem; color: rgba(250, 245, 236, 0.55); margin-top: 0.35rem; }

@media (min-width: 780px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

/* --------------------------------------------------------------------------
   11. Work / pillar cards
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pillar {
  position: relative;
  background: var(--paper);
  padding: 1.75rem 1.35rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--dur) var(--ease);
}
.pillar:hover { background: var(--surface); }
.pillar__num {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 600;
}
.pillar h3 { font-size: 1.32rem; }
.pillar p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; }
.pillar__more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.pillar__more::after { content: " →"; color: var(--brand); }

@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { padding: 2rem 1.4rem 2.1rem; min-height: 14rem; }
}

/* --------------------------------------------------------------------------
   12. Flagship block
   -------------------------------------------------------------------------- */
.flagship {
  display: grid;
  gap: 2rem;
}
.flagship__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--sand);
}
.flagship__media img { width: 100%; height: 100%; object-fit: cover; }

.steps {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.step {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  padding-top: 0.15rem;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--paper);
  margin-bottom: 0.25rem;
}
.step p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(250, 245, 236, 0.62);
}

@media (min-width: 900px) {
  .flagship { grid-template-columns: 0.95fr 1.05fr; gap: 3.5rem; align-items: center; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
  .step {
    display: block;
    border-bottom: 0;
    padding: 1.15rem 0 0;
  }
  .step__num { display: block; margin-bottom: 0.55rem; font-size: 1.25rem; }
  .step h4 { font-size: 1.02rem; }
  .step p { font-size: 0.8rem; }
}

/* --------------------------------------------------------------------------
   13. Stories / quotes
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  gap: 1rem;
}
.quote {
  margin: 0;
  padding: 1.9rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--brand);
  opacity: 0.4;
  height: 1.1rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.quote figcaption {
  margin-top: auto;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.quote figcaption strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--ink);
}
.quote--compact { padding: 1.5rem 1.25rem; }
.quote--compact blockquote { font-size: 0.98rem; }

@media (min-width: 700px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1000px) {
  .quotes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   14. Get involved tiles
   -------------------------------------------------------------------------- */
.tiles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.6rem 1.35rem 1.75rem;
  background: var(--paper);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tile:hover { background: var(--ink); color: var(--paper); }
.tile__num {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 600;
}
.tile:hover .tile__num { color: var(--gold); }
.tile h3 { font-size: 1.25rem; }
.tile p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.tile:hover p { color: rgba(250, 245, 236, 0.68); }
.tile__go {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tile__go::after { content: " →"; }

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile { min-height: 13.5rem; }
}

/* --------------------------------------------------------------------------
   15. Events & news
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 2.75rem;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
  margin-bottom: 0.25rem;
}
.list-head h2 { font-size: 1.5rem; }

.event {
  display: flex;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: opacity var(--dur) var(--ease);
  align-items: flex-start;
}
.event:hover { opacity: 0.72; }
.event__date {
  flex: none;
  width: 3.4rem;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 0.6rem;
}
.event__day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  display: block;
}
.event__month {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.25rem;
}
.event__body { flex: 1; }
.event__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.event__meta { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.event__tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(184, 69, 47, 0.3);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  margin-bottom: 0.4rem;
}

.news-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.news-item__meta {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.news-item h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}
.news-item p { font-size: 0.87rem; color: var(--muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   16. Page hero (interior)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero--paper2 { background: var(--paper-2); }
.page-hero__inner { display: grid; gap: 1.6rem; }
.page-hero h1 {
  font-size: clamp(2.4rem, 6.6vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.page-hero .lede { margin-top: 1.1rem; }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.page-hero__meta span::before {
  content: "—";
  margin-right: 0.45rem;
  color: var(--brand);
}

@media (min-width: 900px) {
  .page-hero { padding-block: 4rem; }
  .page-hero__inner { grid-template-columns: 1.35fr 0.65fr; align-items: end; gap: 3rem; }
  .page-hero__aside { padding-bottom: 0.5rem; }
}

/* --------------------------------------------------------------------------
   17. Editorial content blocks
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.22rem; margin-top: 2rem; }
.prose p,
.prose li { color: var(--ink-2); font-size: 1.02rem; line-height: 1.72; }
.prose ul,
.prose ol { padding-left: 1.2rem; margin: 0; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--brand); border-bottom: 1px solid rgba(184, 69, 47, 0.35); }
.prose a:hover { border-color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin: 1.8rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--brand);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

.two-col { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .two-col--wide { grid-template-columns: 1.2fr 0.8fr; }
}

.figure {
  margin: 0;
}
.figure img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
}
.figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 1.6rem 1.4rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.definition {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}
.definition div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.definition dt {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
}
.definition dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}
@media (min-width: 700px) {
  .definition { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
}

/* Founders */
.person {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--r-md);
  background: var(--sand);
}
.person__role {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.person h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.person p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }
@media (min-width: 760px) {
  .people { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Process list */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.process li {
  position: relative;
  padding: 1.4rem 0 1.4rem 3.2rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand);
}
.process h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.process p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; max-width: 62ch; }

/* Partner logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 2.75rem;
  padding: 1.5rem 0;
}
.logos img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.62;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.logos img:hover { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field .hint { font-size: 0.75rem; color: var(--muted); }
.input,
.select,
.textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(184, 69, 47, 0.12);
}
.textarea { resize: vertical; min-height: 8.5rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form__note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}
.form__status {
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(111, 138, 114, 0.4);
  background: rgba(111, 138, 114, 0.09);
  color: var(--ink-2);
}
.form__status[hidden] { display: none; }
.form__status--error {
  border-color: rgba(184, 69, 47, 0.4);
  background: rgba(184, 69, 47, 0.07);
}

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--brand);
  color: #fff6ee;
  padding-block: 3.5rem;
}
.cta h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.02;
  max-width: 24ch;
}
.cta p {
  margin-top: 1rem;
  max-width: 46ch;
  color: rgba(255, 246, 238, 0.82);
}
.cta__inner { display: grid; gap: 1.75rem; }
.cta .btn--light { color: var(--brand-dark); }
@media (min-width: 860px) {
  .cta { padding-block: 4.5rem; }
  .cta__inner { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(250, 245, 236, 0.72);
  padding-top: 3.25rem;
  font-size: 0.9rem;
}
.footer a { color: rgba(250, 245, 236, 0.72); transition: color var(--dur) var(--ease); }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}
.footer__brand img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.94; }
.footer__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.5;
  color: rgba(250, 245, 236, 0.9);
  margin-top: 1.2rem;
  max-width: 34ch;
}
.footer__desc {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 34ch;
}
.footer h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.87rem;
}
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__social a:hover { border-color: var(--paper); }
.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 1.35rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.76rem;
  color: rgba(250, 245, 236, 0.5);
}
.footer__bottom a { color: rgba(250, 245, 236, 0.5); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 1.25rem; }

@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr; gap: 2.5rem; }
}

/* --------------------------------------------------------------------------
   21. Utilities, accordion, filters, reveal
   -------------------------------------------------------------------------- */
.details {
  border-top: 1px solid var(--line);
}
.details:last-of-type { border-bottom: 1px solid var(--line); }
.details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
  list-style: none;
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--brand);
  transition: transform var(--dur) var(--ease);
  flex: none;
}
.details[open] summary::after { transform: rotate(45deg); }
.details__body {
  padding-bottom: 1.35rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 66ch;
}
.details__body p + p { margin-top: 0.75rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
[data-event][hidden] { display: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(184, 69, 47, 0.09);
  color: var(--brand-dark);
}
.badge--soon { background: rgba(194, 149, 76, 0.16); color: #7d5a1c; }
.badge--past { background: rgba(21, 33, 30, 0.07); color: var(--muted); }

.tbc {
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.25rem;
  line-height: 1.6;
}

.reveal {
  will-change: opacity, transform;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
/* Only elements below the fold are hidden, and only after JS has marked them. */
html.js .reveal.will-reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal,
  html.js .reveal.will-reveal { opacity: 1; transform: none; }
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
