/* Brandrootz — shared styles
   Palette: deep forest + lime, on a soft chalk ground.
   Type: Schibsted Grotesk (headings and text), IBM Plex Mono (nav and labels),
   Tiro Devanagari Hindi (Hindi touches). */

:root {
  --ink: #0e2a1f;
  --forest: #1b4332;
  --mint: #e1ece5;
  --chalk: #f3f4ef;
  --paper: #ffffff;
  --lime: #d6f25a;
  --lime-soft: #eef9c8;
  --sage: #5f7f6a;
  --text: #17241d;
  --muted: #56635b;
  --line: rgba(14, 42, 31, 0.14);
  --on-dark: #eef3ee;
  --on-dark-muted: #b4c2b9;

  --display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --deva: "Tiro Devanagari Hindi", serif;

  /* 4:3 scale on a 17px base */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: 1.75rem;
  --t-xl: 2.3125rem;
  --t-2xl: clamp(2.2rem, 4.4vw, 3.125rem);
  --t-hero: clamp(2.6rem, 6.4vw, 5.25rem);

  --wrap: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 6px;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--chalk);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; }

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

h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }

p { margin: 0 0 1em; max-width: 68ch; }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.hero :focus-visible,
.site-header :focus-visible,
.section-dark :focus-visible,
.page-head :focus-visible,
.site-footer :focus-visible { outline-color: var(--lime); }

.hi { font-family: var(--deva); }

.lede { font-size: var(--t-md); line-height: 1.5; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 var(--t-base)/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #e3f77e; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--forest); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #9fc22a;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 3px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

/* On the home page the header floats over the hero photo, then turns solid on scroll */
.has-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(6, 20, 14, 0.55), rgba(6, 20, 14, 0));
}
.has-hero .site-header.is-solid {
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  margin-right: auto;
}
.brand-logo { height: 34px; width: auto; max-width: 180px; flex: none; object-fit: contain; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-name small {
  display: block;
  font-family: var(--deva);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lime);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--on-dark);
  text-decoration: none;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 0.875rem;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--lime); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav .nav-cta {
  margin-left: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav .nav-cta:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.arrow { width: 0.8em; height: 0.8em; flex: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--paper);
  border-radius: 4px;
  min-height: 44px;
  padding: 0 14px;
  font: 500 var(--t-sm) var(--mono);
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: var(--t-base); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav .nav-cta { margin: 16px 0 0; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
  .has-hero .site-header:has(.nav.open) { background: var(--ink); }
}

/* ---------- Hero: full-bleed photo slider ---------- */

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-slides { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1); }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(6, 20, 14, 0.82) 0%, rgba(6, 20, 14, 0.35) 42%, rgba(6, 20, 14, 0) 65%),
    linear-gradient(to right, rgba(6, 20, 14, 0.55) 0%, rgba(6, 20, 14, 0) 55%);
}

.hero-top { padding-top: 104px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 3px;
  color: var(--paper);
  font: 500 0.8125rem/1.2 var(--mono);
  text-decoration: none;
  backdrop-filter: blur(4px);
  background: rgba(6, 20, 14, 0.2);
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.chip:hover { border-color: var(--lime); }

.hero-main { margin-top: auto; padding-bottom: 28px; }
.hero-title {
  color: var(--paper);
  font-size: var(--t-hero);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero-sub {
  margin: 18px 0 24px;
  font-size: var(--t-md);
  color: rgba(255, 255, 255, 0.92);
  max-width: 44ch;
}
.hero-main .btn { border-radius: 4px; min-height: 46px; }

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  padding-bottom: 28px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--paper);
  max-width: 360px;
  justify-self: end;
}
.hero-feature-text { display: grid; gap: 4px; }
.hero-feature-label { font: 500 0.75rem var(--mono); color: rgba(255, 255, 255, 0.8); }
.hero-feature-title { font-size: 1.1875rem; font-weight: 700; line-height: 1.2; transition: opacity 0.4s; }
.hero-feature-btn {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hero-feature-btn .arrow { width: 18px; height: 18px; }
.hero-feature:hover .hero-feature-btn { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.hero.is-changing .hero-feature-title,
.hero.is-changing .hero-feature-label { opacity: 0; }
.hero-feature-label { transition: opacity 0.4s; }

.hero-rail {
  display: flex;
  align-items: center;
  gap: 24px;
  grid-column: 1 / -1;
}
.hero-bars { display: flex; gap: 8px; flex: 1; max-width: 560px; }
.hero-bars button {
  flex: 1;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.hero-bars button::before,
.hero-bars span {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  height: 3px;
  border-radius: 2px;
}
.hero-bars button::before { right: 0; background: rgba(255, 255, 255, 0.35); }
.hero-bars span { width: 0; background: var(--lime); }
.hero-bars button.is-done span { width: 100%; }
.hero-count { margin-left: auto; font: 500 0.8125rem var(--mono); color: rgba(255, 255, 255, 0.85); }

@media (max-width: 760px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-feature { justify-self: start; }
  .hero-title { max-width: 11ch; }
}

/* ---------- Facts band ---------- */

.facts-band { background: var(--ink); color: var(--on-dark-muted); }
.facts {
  list-style: none;
  margin: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 32px;
}
.facts li { display: flex; gap: 14px; align-items: baseline; }
.facts b { font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.02em; color: var(--lime); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2,
.section-dark h3 { color: var(--paper); }
.section-dark .lede { color: var(--on-dark-muted); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head p { margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */

.partners { padding-block: 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.partners h2 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin-right: 8px; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.partner-logos li {
  display: grid;
  place-items: center;
  width: 128px;
  height: 52px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: #8a968e;
  font-size: 0.8125rem;
}

/* ---------- Why / about teaser ---------- */

.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.why-body h2 { margin-bottom: 24px; }
.why-points { display: grid; gap: 28px; margin: 36px 0; }
.why-points h3 { font-size: var(--t-md); margin-bottom: 6px; }
.why-points p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Photo placeholders: swap for real photography */
.ph {
  position: relative;
  background:
    radial-gradient(circle at 78% 22%, var(--lime) 0 12%, transparent 12.4%),
    linear-gradient(160deg, var(--forest) 0%, var(--ink) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--on-dark-muted);
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  font-size: var(--t-sm);
  line-height: 1.35;
}
/* A real photo dropped into a placeholder (added from the admin) */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img)::after { content: none; }

.ph-warm {
  background:
    radial-gradient(circle at 24% 30%, var(--lime) 0 11%, transparent 11.4%),
    linear-gradient(160deg, #e4ebdc 0%, #c7d5bd 100%);
  color: var(--ink);
}
.ph-leaf {
  background:
    radial-gradient(circle at 70% 70%, var(--lime) 0 13%, transparent 13.4%),
    linear-gradient(160deg, #7d9c87 0%, var(--sage) 100%);
  color: #f1f6f2;
}

.why-photos {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 260px 240px;
  gap: 12px;
}
.why-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.why-photos img:first-child { grid-row: span 2; }

/* ---------- Combined impact ---------- */

.impact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.impact li { padding: 28px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.impact b {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lime);
}
.impact span { color: var(--on-dark-muted); max-width: 22ch; }
@media (max-width: 860px) { .impact { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 420px) { .impact { grid-template-columns: 1fr; } }

.exchange {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: clamp(48px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.exchange > div { background: #173a2b; padding: 28px 28px 20px; }
.exchange h3 { font-size: var(--t-md); margin-bottom: 14px; }
.exchange ul { margin: 0; padding-left: 1.1em; color: var(--on-dark-muted); }
.exchange li { margin-bottom: 8px; }
.exchange li::marker { color: var(--lime); }
@media (max-width: 700px) { .exchange { grid-template-columns: 1fr; } }

/* ---------- Categories ---------- */

.cats { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cat-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cat-list button {
  min-height: 46px;
  padding: 0.5em 1.1em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 500 var(--t-base) var(--sans);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.cat-list button:hover { border-color: var(--forest); }
.cat-list button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cat-list button.is-lifetime { background: var(--lime-soft); border-color: #b9d63f; }

.cat-panel {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 4px solid var(--lime);
  padding: 28px 28px 24px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(14, 42, 31, 0.35);
}
.cat-panel h3 { font-size: var(--t-xl); margin-bottom: 4px; }
.cat-panel .cat-for { font-family: var(--display); font-weight: 600; font-size: var(--t-md); line-height: 1.35; color: var(--ink); margin: 14px 0 12px; }
.cat-panel .cat-for .for { background: var(--lime); padding: 0 0.2em; border-radius: 3px; }
.cat-panel .cat-meta { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr; } .cat-panel { position: static; } }

/* ---------- Honourees ---------- */

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter button {
  min-height: 40px;
  padding: 0.35em 1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font: 500 0.9375rem var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.filter button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }

.honourees {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
}
.honouree { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.honouree[hidden] { display: none; }
.honouree .ph { aspect-ratio: 4 / 3; }
.honouree q {
  quotes: none;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: var(--t-md);
  line-height: 1.3;
  color: var(--ink);
}
.honouree .who { font-size: 0.9375rem; color: var(--muted); }
.honouree .who b { display: block; color: var(--ink); font-size: var(--t-base); }
.tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--forest);
}
@media (min-width: 981px) {
  .honouree.is-featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; align-content: start; }
  .honouree.is-featured .ph { grid-row: span 3; aspect-ratio: auto; min-height: 280px; }
  .honouree.is-featured q { font-size: var(--t-lg); }
  .honouree.is-featured .tag { justify-self: start; }
}
@media (max-width: 980px) { .honourees { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .honourees { grid-template-columns: 1fr; } }

.empty-note { color: var(--muted); }

/* ---------- Editions timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.timeline li { padding: 24px 20px 8px 0; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
}
.timeline li.upcoming::before { background: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }
.timeline .year { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: var(--t-xl); color: var(--ink); line-height: 1; }
.timeline .city { font-weight: 600; margin-top: 10px; }
.timeline p { font-size: 0.9375rem; color: var(--muted); margin: 6px 0 10px; }
.timeline a { font-size: 0.9375rem; }
@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); padding-left: 28px; }
  .timeline li { padding: 0 0 32px; }
  .timeline li::before { left: -35px; top: 8px; }
}

/* ---------- Founder & team ---------- */

.founder {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.founder .ph { aspect-ratio: 4 / 5; }
.founder blockquote { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; font-size: var(--t-lg); line-height: 1.3; color: var(--ink); max-width: 30ch; }
.founder .sig { margin-top: 20px; color: var(--muted); }
.founder .sig b { color: var(--ink); display: block; font-size: var(--t-md); }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .founder .ph { max-width: 240px; } }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 24px; }
.team li { display: flex; gap: 14px; align-items: center; }
.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--forest);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
}
.team li:nth-child(3n + 2) .avatar { background: var(--lime-soft); color: #3d5200; }
.team b { display: block; color: var(--ink); line-height: 1.3; }
.team span { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Contact band ---------- */

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: end;
}
.contact-band h2 { font-size: var(--t-hero); line-height: 1; letter-spacing: -0.035em; margin-bottom: 20px; }
.contact-band .lede { margin-bottom: 28px; }
.contact-band .btn { border-radius: 4px; }
.contact-quick { list-style: none; margin: 0; padding: 0; display: grid; }
.contact-quick li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact-quick span { font: 500 0.8125rem var(--mono); color: var(--on-dark-muted); }
.contact-quick a { color: var(--paper); font-size: var(--t-md); font-weight: 600; text-decoration: none; }
.contact-quick a:hover { color: var(--lime); }
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */

.form {
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px);
}
.form fieldset { border: 0; margin: 0 0 8px; padding: 0; }
.form legend { font-family: var(--display); font-weight: 700; font-size: var(--t-md); color: var(--ink); margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #c5cfc8;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  font: inherit;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--mint); }
.field .hint { font-size: var(--t-sm); color: var(--muted); margin-top: 5px; }
.field .error { display: none; font-size: var(--t-sm); color: #b42318; margin-top: 5px; font-weight: 500; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b42318; }
.field.invalid .error { display: block; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot small { color: var(--muted); max-width: 40ch; }

.form-done {
  display: none;
  border-left: 4px solid var(--sage);
  background: #e7f2ec;
  padding: 20px 22px;
  border-radius: var(--radius);
}
.form-done h3 { font-size: var(--t-md); margin-bottom: 6px; }
.form-done p { margin: 0 0 10px; }
.form.is-done form { display: none; }
.form.is-done .form-done { display: block; }

/* ---------- Page header (inner pages) ---------- */

.page-head { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); }
.page-head h1 { color: var(--paper); font-size: var(--t-hero); max-width: 18ch; }
.page-head p { color: var(--on-dark-muted); font-size: var(--t-md); margin-top: 20px; }

/* ---------- About page ---------- */

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.values li { border-top: 3px solid var(--forest); padding-top: 16px; }
.values b { font-family: var(--display); font-weight: 700; font-size: var(--t-md); color: var(--ink); display: block; margin-bottom: 6px; }
.values .hi { color: var(--forest); font-size: var(--t-base); }
.values p { color: var(--muted); font-size: 0.9375rem; margin: 6px 0 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.split h2 { margin-bottom: 20px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.ledger { width: 100%; border-collapse: collapse; font-size: var(--t-base); }
.ledger caption { text-align: left; color: var(--muted); font-size: var(--t-sm); padding-bottom: 10px; }
.ledger th,
.ledger td { text-align: left; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); }
.ledger th { font-weight: 600; color: var(--ink); }
.ledger td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger .bar { display: block; height: 6px; margin-top: 8px; background: var(--forest); border-radius: 3px; }

/* ---------- Editions page ---------- */

.edition { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.edition-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 48px; margin-bottom: 32px; }
.edition-head .year { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(3rem, 7vw, 5rem); line-height: 0.9; color: var(--ink); }
.edition-head .year.is-next { color: var(--forest); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 0.12em; text-underline-offset: 0.08em; }
.edition-head h2 { font-size: var(--t-xl); margin-bottom: 10px; }
.edition-head p { color: var(--muted); }
.edition-head dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 16px 0 0; font-size: 0.9375rem; }
.edition-head dt { color: var(--muted); }
.edition-head dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 700px) { .edition-head { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery button { padding: 0; text-align: left; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.gallery .ph { aspect-ratio: 1; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.edition-nav { position: sticky; top: 72px; z-index: 10; background: var(--chalk); border-bottom: 1px solid var(--line); }
.edition-nav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; }
.edition-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9375rem; color: var(--ink); white-space: nowrap; }
.edition-nav a:hover { background: var(--mint); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, 92vw);
  width: 100%;
}
.lightbox::backdrop { background: rgba(6, 20, 14, 0.88); }
.lightbox .ph { aspect-ratio: 3 / 2; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; color: var(--paper); padding: 12px 0; }
.lightbox-bar button { background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--paper); border-radius: 999px; min-height: 40px; padding: 0 16px; font: 600 var(--t-sm) var(--sans); cursor: pointer; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.contact-list h3 { font-size: var(--t-md); margin-bottom: 4px; }
.contact-list p { margin: 0; color: var(--muted); }
.contact-list a { color: var(--ink); }
.contact-grid .form { box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(14, 42, 31, 0.35); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: #091d15; color: var(--on-dark-muted); padding-block: 64px 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-family: var(--sans); font-size: var(--t-base); font-weight: 600; color: var(--paper); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--on-dark); text-decoration: none; }
.footer-grid a:hover { color: var(--lime); text-decoration: underline; }
.footer-grid .brand { margin-bottom: 16px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 48px; padding-top: 24px; font-size: var(--t-sm); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 600px) {
  .honouree .ph { aspect-ratio: 16 / 7; }
  .partner-logos li { width: calc(50% - 6px); }
}
