/* Doname — emotional joy-of-giving theme */
:root {
  --red: #c41e3a;
  --red-deep: #9a1830;
  --red-soft: #fce8ec;
  --cream: #faf7f2;
  --gold: #c9a962;
  --ink: #1a1214;
  --ink-muted: #5c4f52;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(26, 18, 20, 0.12);
  --radius: 14px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 4rem;
  --header-h2: 1rem;
  /* Hero bg anchor (px from top of source image); tune to align text with photo */
  --hero-img-w: 857;
  --hero-img-h: 1225;
  --hero-img-anchor-y: 380;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-deep);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(720px, 92vw);
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--red);
  font-style: italic;
}

.mark {
  color: var(--red-deep);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 55%, var(--red-soft) 55%);
  padding: 0 0.12em;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  inset-block-start: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  inset-inline-start: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 18, 20, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.logo__mark {
  color: var(--red);
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--red-deep);
  color: var(--white) !important;
}

.site-header:has(.picker-menu[open]) {
  overflow: visible;
}

.picker-menu,
.lang-menu {
  position: relative;
  font-size: 0.9rem;
  font-family: var(--font-body), "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
}

.picker-menu__trigger,
.lang-menu__trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(26, 18, 20, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.picker-menu__trigger::-webkit-details-marker,
.lang-menu__trigger::-webkit-details-marker {
  display: none;
}

.picker-menu__trigger::marker,
.lang-menu__trigger::marker {
  content: '';
}

.picker-menu__trigger:hover,
.lang-menu__trigger:hover {
  border-color: rgba(26, 18, 20, 0.22);
}

.picker-menu[open] .picker-menu__trigger,
.lang-menu[open] .lang-menu__trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.12);
}

.lang-menu__flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-menu__name--full {
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-menu__name--short,
.lang-menu__label--short {
  display: none;
  letter-spacing: 0.04em;
}

.picker-menu__chevron,
.lang-menu__chevron {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.1rem;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.15s ease;
}

.picker-menu[open] .picker-menu__chevron,
.lang-menu[open] .lang-menu__chevron {
  transform: rotate(225deg) translateY(1px);
}

.picker-menu__panel,
.lang-menu__panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 200;
  min-width: 17rem;
  padding: 0.35rem;
  border: 1px solid rgba(26, 18, 20, 0.1);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(26, 18, 20, 0.12);
}

.picker-menu__list,
.lang-menu__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.currency-menu__list {
  grid-template-columns: 1fr;
  min-width: 12.5rem;
}

.picker-menu__option,
.lang-menu__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.picker-menu__option:hover,
.lang-menu__option:hover {
  background: rgba(196, 30, 58, 0.08);
  color: var(--red);
}

.picker-menu__option.is-active,
.lang-menu__option.is-active {
  background: rgba(196, 30, 58, 0.1);
  color: var(--red);
  cursor: default;
}

.picker-menu__text,
.lang-menu__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  flex: 1;
}

.picker-menu__label,
.lang-menu__label {
  line-height: 1.2;
}

.picker-menu__hint,
.lang-menu__hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.2;
}

.currency-menu__code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.currency-menu__symbol {
  min-width: 2rem;
  font-weight: 700;
}

@media (max-width: 500px) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .logo {
    font-size: 1.05rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .nav {
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .nav__cta {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .picker-menu__trigger,
  .lang-menu__trigger {
    padding: 0.3rem 0.45rem;
    gap: 0.25rem;
  }

  .lang-menu__name--full,
  .picker-menu__label--full,
  .lang-menu__label--full,
  .picker-menu__hint,
  .lang-menu__hint {
    display: none !important;
  }

  .lang-menu__name--short,
  .picker-menu__label--short,
  .lang-menu__label--short {
    display: inline;
  }

  .lang-menu__name--short {
    font-size: 0.75rem;
    font-weight: 700;
  }

  .picker-menu__list,
  .lang-menu__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .currency-menu__list {
    grid-template-columns: 1fr;
  }

  .picker-menu__panel,
  .lang-menu__panel {
    min-width: 9.75rem;
    max-height: min(70vh, 20rem);
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .picker-menu__option,
  .lang-menu__option {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.4rem 0.25rem;
    text-align: center;
  }

  .picker-menu__text,
  .lang-menu__text {
    align-items: center;
  }

  .picker-menu__label--short,
  .lang-menu__label--short {
    font-size: 0.68rem;
    font-weight: 700;
  }
}

@media (max-width: 374px) {
  .lang-menu__name--short {
    display: none !important;
  }
}

[dir="rtl"] .picker-menu__panel,
[dir="rtl"] .lang-menu__panel {
  right: auto;
  left: 0;
}

[dir="rtl"] .picker-menu__chevron,
[dir="rtl"] .lang-menu__chevron {
  transform: rotate(-45deg) translateY(-1px);
}

[dir="rtl"] .picker-menu[open] .picker-menu__chevron,
[dir="rtl"] .lang-menu[open] .lang-menu__chevron {
  transform: rotate(-225deg) translateY(1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: var(--header-h) 0 4rem;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #efedee;
}

/* Top gap ≤ bottom gap; min 20px below header; caps at 150px when space allows */
.hero__layout {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.hero__spacer-top {
  flex: 1 1 0;
  max-height: 150px;
  min-height: 20px;
}

.hero__spacer-bottom {
  flex: 1 1 0;
  min-height: 0;
}

@media (max-width: 1300px) {
  .hero__spacer-top {
    max-height: 50px;
  }
}

.hero__bg {
  position: absolute;
  /* Inset below header — padding on .hero does not affect absolute children */
  inset: var(--header-h2) 0 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  background-color: #efedee;
}

.hero__bg-left {
  flex: 1 1 0;
  min-width: 0;
  background: url("../images/left-bg.jpeg") left center / 100% 100% no-repeat;
}

[dir="rtl"] .hero__bg-left {
  background-image: url("../images/right-bg.jpeg");
  background-position: right center;
}

.hero__bg-subject {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 857 / 1333;
  background-image: url("../images/hero-gift-joy-big-slim.jpeg");
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero__content {
  flex: 0 0 auto;
  max-width: 34rem;
  padding: 1.75rem 2rem 2rem;
  border-radius: var(--radius);
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 32px rgba(26, 18, 20, 0.08);
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__actions--center {
  justify-content: center;
}

.hero__proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.hero__proof strong {
  color: var(--red);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(196, 30, 58, 0.35);
}

.btn--primary:hover {
  background: var(--red-deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 18, 20, 0.15);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section h2 em {
  font-style: italic;
  color: var(--red);
}

.section__intro {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.section--warm {
  background: var(--white);
}

.section--contrast {
  background: var(--red-soft);
}

.section--give {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.section--stories {
  background: var(--white);
}

.section--faq {
  background: var(--cream);
}

.section--cta-final {
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.section--cta-final h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section--cta-final .btn--primary {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow);
}

.section--cta-final .btn--primary:hover {
  background: var(--cream);
  color: var(--red-deep);
}

/* Joy grid */
.joy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.joy-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(26, 18, 20, 0.06);
}

.joy-card h3 {
  font-family: var(--font-display);
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.joy-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.joy-card__icon {
  font-size: 1.5rem;
}

.cite {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

.difference-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.difference-list li {
  margin-bottom: 0.75rem;
}

/* Donate */
.give-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.give-copy p {
  color: var(--ink-muted);
}

.impact-meter {
  height: 8px;
  background: var(--red-soft);
  border-radius: 999px;
  overflow: hidden;
  margin: 1.25rem 0 0.5rem;
}

.impact-meter__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.impact-meter__label {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

.donate-card {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 30, 58, 0.08);
}

.frequency-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem;
  background: var(--cream);
  border-radius: 999px;
}

.frequency-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
}

.frequency-toggle__btn.is-active {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 2px 8px rgba(26, 18, 20, 0.08);
}

.currency-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.currency-toggle__btn {
  border: 2px solid rgba(26, 18, 20, 0.1);
  background: var(--white);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--ink-muted);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.currency-toggle__btn:hover {
  border-color: rgba(196, 30, 58, 0.35);
  color: var(--red);
}

.currency-toggle__btn.is-active {
  border-color: var(--red);
  background: rgba(196, 30, 58, 0.08);
  color: var(--red);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.amount-btn {
  padding: 0.85rem 0.5rem;
  border: 2px solid rgba(26, 18, 20, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.amount-btn:hover {
  border-color: var(--red);
}

.amount-btn.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red-deep);
}

.custom-amount {
  display: block;
  margin-bottom: 1rem;
}

.custom-amount > span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.custom-amount__wrap {
  display: flex;
  align-items: center;
  border: 2px solid rgba(26, 18, 20, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.custom-amount__wrap:focus-within {
  border-color: var(--red);
}

.custom-amount__currency {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.75rem 0 0.75rem 1rem;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
}

.custom-amount input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem 0.75rem 0.25rem;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  font-family: inherit;
  min-width: 0;
}

.custom-amount input:focus {
  outline: none;
}

.custom-amount small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.donate-error {
  color: var(--red-deep);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.donate-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 1rem 0 0;
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.quotes blockquote {
  margin: 0;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}

.quotes p {
  margin: 0;
  font-style: italic;
  color: var(--ink-muted);
}

/* FAQ */
.faq {
  border-bottom: 1px solid rgba(26, 18, 20, 0.08);
  padding: 0.75rem 0;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style-position: inside;
}

.faq p {
  color: var(--ink-muted);
  margin: 0.5rem 0 0;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.site-footer a {
  color: var(--gold);
}

.site-footer__tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 1rem;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.site-footer__links a {
  text-decoration: none;
  font-weight: 600;
}

.site-footer__legal {
  font-size: 0.8rem;
  margin: 0;
}

/* Inner pages */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-hero--success {
  background: linear-gradient(180deg, var(--red-soft), var(--cream));
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.prose h1 {
  font-family: var(--font-display);
}

.prose code {
  background: var(--red-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Long-form guide (Why people give) */
.guide-hero {
  padding-top: calc(var(--header-h) + 2.5rem);
}

.guide-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 0.75rem;
}

.guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.guide-hero__lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
}

.guide-hero__actions {
  margin: 0;
}

.guide-toc {
  padding-top: 0;
  padding-bottom: 2rem;
}

.guide-toc__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.guide-toc__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink-muted);
  columns: 2;
  column-gap: 2rem;
}

.guide-toc__list li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.guide-prose h2,
.guide-prose h3 {
  font-family: var(--font-display);
}

.guide-prose h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
}

.guide-prose h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.guide-prose p {
  color: var(--ink-muted);
  margin: 0 0 1.1rem;
}

.guide-motivators .joy-card h3 {
  font-size: 1.05rem;
}

.guide-checklist {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.guide-checklist li {
  margin-bottom: 0.65rem;
}

.guide-cta__lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.guide-back {
  margin: 1.5rem 0 0;
}

.guide-back a {
  color: var(--white);
  opacity: 0.9;
}

.guide-back a:hover {
  color: var(--cream);
  opacity: 1;
}

@media (max-width: 600px) {
  .guide-toc__list {
    columns: 1;
  }
}

/* Hero — desktop (background anchored right, copy on the left) */
@media (min-width: 901px) { 
  .hero {
    padding-left: max(4vw, calc((100vw - 1120px) / 2));
    padding-right: 4vw;
  }

  .hero .hero__content.container {
    margin-inline: 0;
    width: min(34rem, 42vw);
    max-width: 34rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .give-layout {
    grid-template-columns: 1fr;
  }

  .hero__bg-left {
    display: none;
  }

  .hero {
    padding-bottom: var(--header-h);
    /* Background area (matches .hero__bg inset below header) */
    --hero-bg-w: 100vw;
    --hero-bg-h: calc(100svh - var(--header-h));
    /* cover + center top: scale = max(width/imgW, height/imgH) */
    --hero-img-scale: max(
      calc(var(--hero-bg-w) / var(--hero-img-w)),
      calc(var(--hero-bg-h) / var(--hero-img-h))
    );
  }

  .hero__bg {
    inset: var(--header-h) 0 0 0;
    display: block;
  }

  .hero__bg-subject {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex: none;
    margin-top: 0;
    background-image: url("../images/hero-gift-joy-big-slim-no-top.jpeg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero__layout {
    align-items: center;
    justify-content: flex-start;
  }

  /* Top of text box tracks anchor point on the scaled cover image */
  .hero__spacer-top {
    flex: 0 0 auto;
    height: max(
      20px,
      calc(var(--hero-img-anchor-y) * var(--hero-img-scale))
    );
    min-height: 20px;
    max-height: none;
  }

  .hero__spacer-bottom {
    flex: 1 1 0;
    min-height: 0;
  }

  .hero__content {
    max-width: none;
    text-align: center;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__proof {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0rem 1.25rem;
  }

  .hero__proof li {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .nav > a:not(.nav__cta) {
    display: none;
  }

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

  .amount-grid .amount-btn:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (max-width: 460px) {
  .hero__proof {
    display: none !important;
  }
  .hero__actions {
    margin-bottom: 0 !important;
  } 
}

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

  .btn:hover {
    transform: none;
  }
}
