:root {
  --bone: #f6f1e8;
  --bone-2: #efe7d6;
  --bone-3: #e5d8be;
  --ink: #1f1a15;
  --ink-soft: #3a332a;
  --terracotta: #c75b3e;
  --terracotta-deep: #a84829;
  --sage: #4a5d47;
  --sage-deep: #394837;
  --amber: #e7b549;
  --cream: #f3dcc0;
  --max-w: 1280px;
  --radius: 16px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bone);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

.skip-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(31, 26, 21, 0.08);
  background: rgba(246, 241, 232, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.nav.is-scrolled {
  box-shadow: 0 10px 30px rgba(31, 26, 21, 0.08);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.nav__brand img {
  width: 34px;
  height: 34px;
}

.nav__brand span {
  display: block;
}

.nav__brand .small {
  margin-top: 2px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav__menu {
  margin-left: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.94rem;
  transition: color 0.25s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--terracotta);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  width: 100%;
}

.nav__cta,
.btn,
.volunteer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav__cta {
  padding: 0.68rem 1.2rem;
  background: var(--ink);
  color: var(--bone);
}

.nav__cta:hover,
.nav__cta:focus-visible,
.btn:hover,
.btn:focus-visible,
.volunteer__cta:hover,
.volunteer__cta:focus-visible {
  transform: translateY(-2px);
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--terracotta);
}

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.nav__burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav__burger span:nth-child(1) {
  top: 14px;
}

.nav__burger span:nth-child(2) {
  top: 21px;
}

.nav__burger span:nth-child(3) {
  top: 28px;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(231, 181, 73, 0.28), transparent 32%),
    radial-gradient(circle at right top, rgba(199, 91, 62, 0.18), transparent 28%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__title {
  margin: 1.6rem 0 1.8rem;
  font-family: "Fraunces", serif;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 350;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero__title em,
.work__title em,
.mission__title em,
.donate__title em,
.footer__mega em,
.work__card-title em,
.volunteer__title em {
  font-style: italic;
  color: var(--terracotta);
}

.hero__title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__title-word:nth-child(1) {
  animation-delay: 0.02s;
}

.hero__title-word:nth-child(2) {
  animation-delay: 0.12s;
}

.hero__title-word:nth-child(3) {
  animation-delay: 0.22s;
}

.hero__title-word:nth-child(4) {
  animation-delay: 0.32s;
}

.hero__lede {
  max-width: 36ch;
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.btn {
  padding: 1rem 1.6rem;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--bone);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--terracotta-deep);
}

.btn--ghost {
  border: 1px solid rgba(31, 26, 21, 0.18);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow,
.btn:focus-visible .arrow,
.nav__cta:hover svg,
.nav__cta:focus-visible svg,
.volunteer__cta:hover svg,
.volunteer__cta:focus-visible svg,
.work__card-link:hover svg,
.work__card-link:focus-visible svg {
  transform: translateX(4px);
}

.hero__art {
  position: relative;
  aspect-ratio: 6 / 7;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(31, 26, 21, 0.12);
}

.hero__art-tag {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(31, 26, 21, 0.08);
  border-radius: 14px;
  background: rgba(246, 241, 232, 0.95);
  box-shadow: 0 16px 40px rgba(31, 26, 21, 0.08);
  font-size: 0.82rem;
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.hero__meta {
  position: absolute;
  top: 2rem;
  right: -1rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(58, 51, 42, 0.72);
  writing-mode: vertical-rl;
}

.marquee {
  padding: 1.35rem 0;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  white-space: nowrap;
  font-family: "Fraunces", serif;
  font-size: 1.28rem;
  font-style: italic;
  animation: scroll 34s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.stats {
  background: var(--bone-2);
  border-block: 1px solid rgba(31, 26, 21, 0.08);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.stat {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(31, 26, 21, 0.14);
}

.stat__num {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat__label {
  margin-top: 0.75rem;
  max-width: 20ch;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.mission__grid,
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.mission__art,
.about__art {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.mission__art {
  position: sticky;
  top: 110px;
}

.mission__art img,
.about__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission__title,
.work__title,
.donate__title {
  margin: 1rem 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.03em;
}

.mission__body,
.work__lede,
.donate__lede,
.volunteer__body p,
.about__letter p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.mission__body {
  margin-top: 1.8rem;
  max-width: 56ch;
}

.mission__body p {
  margin: 0;
}

.mission__body p + p {
  margin-top: 1.2rem;
}

.mission__pillars {
  display: grid;
  gap: 1.1rem;
  margin-top: 3rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(31, 26, 21, 0.12);
}

.pillar:last-child {
  border-bottom: 1px solid rgba(31, 26, 21, 0.12);
}

.pillar__num {
  color: var(--terracotta);
  font-family: "Instrument Serif", serif;
  font-size: 1rem;
  font-style: italic;
}

.pillar__title {
  font-family: "Fraunces", serif;
  font-size: 1.65rem;
  letter-spacing: -0.015em;
}

.pillar__desc {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.pillar__arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 26, 21, 0.15);
  border-radius: 50%;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pillar:hover .pillar__arrow {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--bone);
}

.work {
  background: var(--bone-2);
}

.work__header,
.donate__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work__card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(31, 26, 21, 0.06);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.48);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(31, 26, 21, 0.08);
}

.work__card-art {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--bone-3);
}

.work__card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work__card:hover .work__card-art img {
  transform: scale(1.04);
}

.work__card-art--sage {
  background: rgba(74, 93, 71, 0.18);
}

.work__card-art--cream {
  background: var(--cream);
}

.work__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.chip {
  display: inline-block;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--terracotta-deep);
}

.work__card-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.85rem;
  font-weight: 350;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.work__card-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.work__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(31, 26, 21, 0.15);
  color: var(--terracotta);
  font-weight: 600;
}

.work__card-link svg,
.volunteer__cta svg,
.nav__cta svg {
  transition: transform 0.25s ease;
}

.about__letter {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.14rem, 1.5vw, 1.32rem);
  line-height: 1.6;
}

.opening {
  display: block;
  margin: 1rem 0 1.8rem;
  color: var(--terracotta);
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about__sign {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
  color: var(--ink-soft);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.9rem;
}

.about__sign-line {
  width: 40px;
  height: 1px;
  background: currentColor;
}

.volunteer {
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.volunteer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 100%, rgba(199, 91, 62, 0.24), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(231, 181, 73, 0.18), transparent 42%),
    linear-gradient(135deg, #211a14 0%, #2d241c 100%);
  color: var(--bone);
  overflow: hidden;
}

.volunteer .eyebrow {
  color: rgba(246, 241, 232, 0.72);
}

.volunteer__title {
  margin: 1rem 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 350;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.volunteer__body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.volunteer__body p {
  margin: 0;
  color: rgba(246, 241, 232, 0.82);
}

.volunteer__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.volunteer__list li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(246, 241, 232, 0.15);
}

.volunteer__list li::before {
  content: "*";
  color: var(--amber);
}

.volunteer__cta {
  align-self: flex-start;
  padding: 1rem 1.6rem;
  background: var(--amber);
  color: var(--ink);
}

.volunteer__cta:hover,
.volunteer__cta:focus-visible {
  background: #f1c96d;
}

.donate__tabs {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--bone-2);
}

.donate__tab {
  min-width: 122px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.donate__tab.is-active {
  background: var(--ink);
  color: var(--bone);
}

.donate__panel {
  margin-bottom: 1.8rem;
}

.donate__panel[hidden] {
  display: none;
}

.donate__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.donate__card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.7rem 1.4rem;
  border: 1px solid rgba(31, 26, 21, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.donate__card:hover,
.donate__card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 18px 40px rgba(31, 26, 21, 0.06);
}

.donate__card.is-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.donate__card.is-featured::after {
  content: "Most common";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.donate__card {
  position: relative;
}

.donate__amount {
  display: flex;
  align-items: flex-start;
  font-family: "Fraunces", serif;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.03em;
}

.currency {
  margin-top: 0.45em;
  margin-right: 0.12em;
  font-size: 0.44em;
  color: var(--terracotta);
  font-style: italic;
}

.donate__card.is-featured .currency {
  color: var(--amber);
}

.donate__period {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.donate__card.is-featured .donate__period {
  color: rgba(246, 241, 232, 0.72);
}

.donate__what {
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(31, 26, 21, 0.15);
  font-family: "Instrument Serif", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
}

.donate__card.is-featured .donate__what {
  border-color: rgba(246, 241, 232, 0.18);
}

.donate__once-card,
.donate__checkout {
  padding: 2rem;
  border: 1px solid rgba(31, 26, 21, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(231, 181, 73, 0.16), transparent 24%),
    rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 50px rgba(31, 26, 21, 0.06);
}

.donate__once-label,
.donate__checkout-label {
  margin: 0 0 0.9rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.donate__once-card h3,
.donate__checkout h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.donate__once-card p:last-child,
.donate__checkout p:not(.donate__checkout-label):not(.donate__trust) {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.stripe-shell {
  margin-top: 1.5rem;
  min-height: 72px;
}

.donate__trust {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: 2rem;
  background: var(--bone-2);
}

.footer__mega {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(31, 26, 21, 0.12);
  font-family: "Fraunces", serif;
  font-size: clamp(4rem, 14vw, 12.5rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-block: 3rem;
}

.footer__col h4 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer__col ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: var(--terracotta);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
}

.footer__brand img {
  width: 40px;
  height: 40px;
}

.footer__blurb {
  max-width: 34ch;
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(31, 26, 21, 0.12);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 26, 21, 0.15);
  border-radius: 50%;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

::selection {
  background: var(--terracotta);
  color: var(--bone);
}

:focus-visible {
  outline: 3px solid rgba(199, 91, 62, 0.35);
  outline-offset: 3px;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .mission__grid,
  .about__grid,
  .work__header,
  .donate__header,
  .volunteer__inner {
    grid-template-columns: 1fr;
  }

  .mission__art {
    position: static;
  }

  .hero__art {
    max-width: 560px;
    margin-inline: auto;
  }

  .hero__meta {
    display: none;
  }

  .work__grid,
  .donate__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s linear;
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(246, 241, 232, 0.98);
    box-shadow: 0 20px 40px rgba(31, 26, 21, 0.08);
  }

  .nav__links a {
    padding: 0.85rem 0;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: inline-block;
  }

  .pillar {
    grid-template-columns: auto 1fr;
  }

  .pillar__arrow {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid .footer__col:first-child {
    grid-column: 1 / -1;
  }
}

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

  .nav__inner {
    gap: 0.75rem;
  }

  .nav__brand {
    font-size: 1.2rem;
  }

  .nav__brand .small {
    font-size: 0.6rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .btn,
  .volunteer__cta {
    width: 100%;
  }

  .hero__art-tag {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: center;
  }

  .stats__grid,
  .work__grid,
  .donate__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .work__header,
  .donate__header {
    gap: 1.5rem;
    margin-bottom: 2.4rem;
  }

  .donate__tabs {
    width: 100%;
  }

  .donate__tab {
    flex: 1 1 0;
  }

  .donate__once-card,
  .donate__checkout {
    padding: 1.5rem;
  }

  .footer__mega {
    font-size: clamp(3.3rem, 18vw, 7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero__title-word {
    opacity: 1;
    transform: none;
  }
}
