:root {
  --color-paper: #f7f4ee;
  --color-white: #ffffff;
  --color-ink: #0b1d26;
  --color-muted: #5f686d;
  --color-line: #ddd6cc;
  --color-red: #d40d17;
  --color-red-dark: #a80812;
  --color-green: #006b3f;
  --color-green-dark: #004d31;
  --color-green-soft: #e4efe9;
  --color-gold-muted: #8c7a3f;
  --container: 1120px;
  --container-narrow: 760px;
  --shadow-soft: 0 18px 45px rgb(11 29 38 / 9%);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgb(212 13 23 / 45%);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 32px, var(--container-narrow));
  margin-inline: auto;
}

.site-header {
  align-items: center;
  background: rgb(247 244 238 / 92%);
  border-bottom: 1px solid var(--color-line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(16px, calc((100vw - var(--container)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.brand img {
  height: 54px;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--color-red);
}

.nav-toggle {
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}

.nav-toggle span:not(.sr-only) {
  background: var(--color-ink);
  display: block;
  height: 2px;
  position: absolute;
  width: 20px;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.sr-only {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.hero {
  overflow: hidden;
  padding: 86px 0 72px;
}

.hero-grid {
  max-width: 920px;
}

.eyebrow {
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
}

h2 {
  font-size: 1rem;
  line-height: 1.12;
}

h3 {
  font-size: 0.9rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 3.35rem);
  line-height: 0.96;
  margin: 12px 0 22px;
}

.subhero {
  border-bottom: 1px solid var(--color-line);
  padding: 82px 0 64px;
}

.subhero h1 {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  line-height: 0.98;
  margin: 8px 0 18px;
}

.subhero p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.18rem;
  margin: 0;
}

.lead {
  color: var(--color-ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 18px;
}

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

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-hero-photo,
.page-hero-photo {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  margin: 34px 0 0;
  overflow: hidden;
}

.home-hero-photo-image,
.page-hero-photo img {
  aspect-ratio: 16 / 9;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-hero-photo {
  box-shadow: var(--shadow-soft);
  position: relative;
}

.home-hero-logo {
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(221 214 204 / 80%);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgb(11 29 38 / 16%);
  display: block;
  height: auto;
  left: clamp(14px, 3vw, 30px);
  padding: clamp(8px, 1.6vw, 16px);
  position: absolute;
  top: clamp(14px, 3vw, 30px);
  width: clamp(96px, 18vw, 210px);
}

.page-hero-photo {
  max-width: 820px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.button-primary:hover {
  background: var(--color-red-dark);
}

.button-secondary {
  background: var(--color-green);
  color: var(--color-white);
}

.button-secondary:hover {
  background: var(--color-green-dark);
}

.button-ghost {
  border-color: var(--color-line);
  color: var(--color-ink);
}

.button-ghost:hover {
  border-color: var(--color-green);
  color: var(--color-green-dark);
}

.page-section {
  padding: 84px 0;
}

.page-section.tight {
  padding: 56px 0;
}

.section-header {
  max-width: var(--container-narrow);
  margin-bottom: 34px;
}

.section-header h2,
.contact h2,
.grants-placeholder h2 {
  font-size: clamp(1rem, 2vw, 1.8rem);
  line-height: 1.04;
  margin: 8px 0 14px;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.08rem;
  margin: 0;
}

.section-copy {
  color: var(--color-muted);
  max-width: var(--container-narrow);
  margin: -14px 0 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 24px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.card:hover {
  border-color: rgb(0 107 63 / 35%);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 0.725rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.card p {
  color: var(--color-muted);
  margin: 0;
}

.mark {
  display: block;
  height: 10px;
  margin-bottom: 18px;
  width: 46px;
}

.mark-red {
  background: var(--color-red);
}

.mark-green {
  background: var(--color-green);
}

.band,
.contact,
.documents,
.laureates,
.award-history,
.goals {
  background: var(--color-white);
  border-block: 1px solid var(--color-line);
}

.value-grid {
  align-self: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid div {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  display: grid;
  font-family: var(--font-serif);
  font-size: 0.675rem;
  font-weight: 700;
  gap: 14px;
  min-height: 126px;
  padding: 22px;
}

.value-icon {
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-green);
  display: inline-flex;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.value-grid div:nth-child(odd) .value-icon {
  color: var(--color-red);
}

.value-icon svg {
  fill: none;
  height: 36px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 36px;
}

.award-box {
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f1eadc 100%);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding: clamp(28px, 5vw, 56px);
}

.award-box h2 {
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.04;
  margin: 8px 0 16px;
}

.award-box > div {
  max-width: var(--container-narrow);
}

.award-note {
  border: 1px solid rgb(140 122 63 / 35%);
  border-radius: 8px;
  color: var(--color-gold-muted);
  display: grid;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  min-height: 210px;
  place-items: center;
  text-align: center;
}

.grants-row,
.contact-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: 1.2fr 0.8fr;
}

.grants-row {
  align-items: end;
  grid-template-columns: 1fr auto;
}

.contact dl {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  margin: 0;
  padding: 26px;
}

.contact dt {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact dd {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 4px 0 20px;
}

.prose {
  max-width: var(--container-narrow);
}

.prose p {
  margin: 0 0 18px;
}

.privacy-document {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
}

.privacy-document h1 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  margin: 0 0 8px;
}

.privacy-document h2 {
  border-top: 1px solid var(--color-line);
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  margin: 32px 0 14px;
  padding-top: 24px;
}

.privacy-document h3 {
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  margin: 24px 0 12px;
}

.privacy-document p,
.privacy-document li {
  line-height: 1.65;
}

.privacy-document p {
  margin: 0 0 16px;
}

.privacy-lead {
  color: var(--color-muted);
  font-weight: 700;
}

.privacy-document ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

.privacy-document li + li {
  margin-top: 8px;
}

.table-scroll {
  margin: 16px 0 24px;
  overflow-x: auto;
}

.privacy-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid var(--color-line);
  line-height: 1.45;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.privacy-table thead th {
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.88rem;
}

.privacy-table-pairs th {
  background: var(--color-green-soft);
  color: var(--color-green-dark);
  width: 30%;
}

.privacy-table-wide {
  min-width: 900px;
}

.goals .card + .card {
  margin-top: 12px;
}

.member-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-ink);
  cursor: pointer;
  display: grid;
  min-height: 280px;
  padding: 24px;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  width: 100%;
}

.member-card:hover {
  border-color: rgb(212 13 23 / 35%);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.avatar {
  align-items: center;
  align-self: start;
  background: var(--color-green-soft);
  border: 1px solid rgb(0 107 63 / 20%);
  border-radius: 50%;
  color: var(--color-green-dark);
  display: inline-flex;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  height: 96px;
  justify-content: center;
  margin-bottom: 24px;
  width: 96px;
}

.member-photo {
  align-self: start;
  border: 1px solid rgb(0 107 63 / 20%);
  border-radius: 50%;
  display: block;
  height: 96px;
  margin-bottom: 24px;
  overflow: hidden;
  width: 96px;
}

.member-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  width: 100%;
}

.member-name {
  font-family: var(--font-serif);
  font-size: 0.775rem;
  font-weight: 800;
  line-height: 1.15;
}

.member-role {
  color: var(--color-red);
  font-weight: 800;
  margin: 6px 0 14px;
}

.member-bio {
  color: var(--color-muted);
}

.modal[hidden] {
  display: none;
}

.modal {
  align-items: center;
  background: rgb(11 29 38 / 58%);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 50;
}

.modal-panel {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 25px 90px rgb(0 0 0 / 24%);
  max-width: 620px;
  padding: clamp(26px, 5vw, 44px);
  position: relative;
  width: 100%;
}

.modal-panel h3 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.05;
  margin: 8px 0 16px;
}

.modal-close {
  align-items: center;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.7rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
}

.history-grid {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 0.8fr 1.2fr;
}

.history-years {
  color: var(--color-gold-muted);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 0.95;
}

.history-grid p {
  font-size: clamp(0.625rem, 1vw, 0.85rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.filters {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px);
  margin-bottom: 24px;
}

.filters label {
  color: var(--color-muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
}

.filters input,
.filters select {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  color: var(--color-ink);
  min-height: 46px;
  padding: 10px 12px;
}

.year-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.year-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 22px;
}

.year-card h3 {
  color: var(--color-red);
  font-size: 1rem;
  margin: 0 0 14px;
}

.year-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.year-card li {
  border-top: 1px solid var(--color-line);
  display: grid;
  gap: 2px;
  padding-top: 10px;
}

.year-card small {
  color: var(--color-muted);
}

.empty {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 18px;
}

.grants-placeholder {
  min-height: 56vh;
}

.grants-placeholder h1 {
  font-size: clamp(1.2rem, 2.5vw, 2.4rem);
  line-height: 1;
  margin: 8px 0 20px;
}

.grant-list-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  max-width: 980px;
  overflow: hidden;
  padding: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.grant-list-card:hover {
  border-color: rgb(212 13 23 / 35%);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.grant-card-image {
  background: var(--color-line);
  display: block;
  min-height: 220px;
}

.grant-card-image img {
  aspect-ratio: 16 / 9;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.grant-card-copy {
  align-content: center;
  display: grid;
  gap: 14px;
  padding: 26px;
}

.grant-list-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.16;
}

.grant-list-deadline,
.grant-deadline {
  color: var(--color-red);
  font-weight: 800;
}

.grant-list-date,
.grant-issue-date {
  color: var(--color-muted);
  font-weight: 800;
}

.grant-hero {
  border-bottom: 1px solid var(--color-line);
  padding: 56px 0 64px;
}

.back-link {
  color: var(--color-muted);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--color-red);
}

.grant-hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
}

.grant-hero h1 {
  font-size: clamp(1.45rem, 3vw, 2.75rem);
  line-height: 1.03;
  margin: 8px 0 18px;
}

.grant-image {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.grant-image img {
  aspect-ratio: 16 / 9;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.grant-content .prose {
  display: grid;
  gap: 18px;
}

.grant-content .prose p,
.grant-content .prose ul {
  margin: 0;
}

.grant-content .prose h2 {
  border-top: 1px solid var(--color-line);
  font-size: clamp(1rem, 2vw, 1.35rem);
  margin: 22px 0 0;
  padding-top: 26px;
}

.grant-content .prose ul {
  padding-left: 22px;
}

.grant-content .prose li + li {
  margin-top: 8px;
}

.button[aria-disabled="true"] {
  opacity: 0.62;
  pointer-events: none;
}

.form-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
}

.form-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
}

.form-layout h2 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin: 8px 0 16px;
}

.site-form {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact .site-form {
  align-self: start;
}

.site-form label:not(.checkbox-field) {
  display: grid;
  gap: 7px;
}

.site-form label span {
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-form input,
.site-form textarea {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  color: var(--color-ink);
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.site-form textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-field {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
}

.checkbox-field input {
  accent-color: var(--color-red);
  height: 18px;
  margin-top: 3px;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.checkbox-field span {
  color: var(--color-muted);
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-field a {
  color: var(--color-red);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-form button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
  margin: 2px 0 0;
  padding: 12px 14px;
}

.form-status.is-success {
  background: var(--color-green-soft);
  border-color: rgb(0 107 63 / 25%);
  color: var(--color-green-dark);
}

.form-status.is-error {
  background: #fff1f1;
  border-color: rgb(212 13 23 / 25%);
  color: var(--color-red-dark);
}

.site-footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 52px max(16px, calc((100vw - var(--container)) / 2)) 24px;
}

.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.4fr 1fr 1.2fr;
}

.site-footer img {
  background: var(--color-white);
  border-radius: 4px;
  height: 48px;
  margin-bottom: 16px;
  padding: 4px 8px;
  width: auto;
}

.site-footer p,
.site-footer address,
.copyright {
  color: rgb(255 255 255 / 78%);
}

.site-footer nav,
.site-footer address {
  display: grid;
  font-style: normal;
  gap: 9px;
}

.site-footer a:hover {
  color: var(--color-green-soft);
}

.cookie-settings-button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.cookie-settings-button:hover {
  color: var(--color-green-soft);
}

.cookie-consent {
  background: var(--color-white);
  border-top: 4px solid var(--color-green);
  bottom: 0;
  box-shadow: 0 -18px 48px rgb(11 29 38 / 18%);
  left: 0;
  padding: 22px max(16px, calc((100vw - var(--container)) / 2));
  position: fixed;
  right: 0;
  z-index: 300;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__content {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cookie-consent h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 0 6px;
}

.cookie-consent p {
  color: var(--color-muted);
  margin: 0;
  max-width: 820px;
}

.cookie-consent p a {
  color: var(--color-green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__actions .button {
  white-space: nowrap;
}

.copyright {
  border-top: 1px solid rgb(255 255 255 / 14%);
  margin-top: 36px;
  padding-top: 18px;
}

@media (max-width: 1024px) {
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .grid.two,
  .grid.three,
  .award-box,
  .history-grid,
  .contact-grid,
  .grant-hero-grid,
  .form-layout,
  .grant-list-card {
    grid-template-columns: 1fr;
  }

  .year-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .cookie-consent__content {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions .button {
    flex: 1 1 150px;
  }

  .brand img {
    height: 42px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 16px 18px;
    position: absolute;
    right: 0;
    top: 68px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid var(--color-line);
    padding: 14px 0;
    width: 100%;
  }

  .grants-row,
  .footer-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .page-section {
    padding: 48px 0;
  }

  .grid.four,
  .value-grid,
  .filters,
  .year-grid {
    grid-template-columns: 1fr;
  }
}
