:root {
  --ink: #2b2522;
  --muted: #756760;
  --paper: #fff7ed;
  --cream: #fffdf8;
  --peach: #ffe0cf;
  --rose: #ef6a5b;
  --rose-dark: #cf4638;
  --mint: #1db77a;
  --teal: #247d80;
  --line: rgba(43, 37, 34, 0.12);
  --shadow-soft: 0 18px 55px rgba(87, 54, 39, 0.16);
  --shadow-hard: 0 28px 70px rgba(87, 54, 39, 0.24);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fff5e8 0%, #fffaf3 36%, #f7fbf7 70%, #fff7ed 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 37, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 37, 34, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
}

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

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

button {
  font: inherit;
}

.page-glow {
  position: fixed;
  inset: auto -20vw 6vh auto;
  z-index: -1;
  width: 56vw;
  height: 56vw;
  border-radius: 999px;
  background: rgba(239, 106, 91, 0.18);
  filter: blur(70px);
  animation: glowDrift 8s ease-in-out infinite alternate;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: max(18px, env(safe-area-inset-top)) 18px 68px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 14%, rgba(239, 106, 91, 0.28), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(29, 183, 122, 0.17), transparent 28%),
    linear-gradient(135deg, #fff2df 0%, #fffaf5 48%, #eef8f1 100%);
}

.topbar {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 35px rgba(87, 54, 39, 0.1);
  backdrop-filter: blur(18px);
}

.topbar a {
  min-width: 78px;
  min-height: 36px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.topbar a:hover,
.topbar a:active {
  background: var(--ink);
  color: #fff;
}

.hero__grid {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 42px;
  align-items: center;
}

.pill,
.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.pill {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(239, 106, 91, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(239, 106, 91, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.35;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  box-shadow: 0 16px 34px rgba(207, 70, 56, 0.28);
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -40%;
  width: 32%;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.42);
  animation: shine 3.8s ease-in-out infinite;
}

.button--soft {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(43, 37, 34, 0.1);
}

.hero-card {
  position: relative;
  width: min(100%, 410px);
  justify-self: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-hard);
  transform: rotate(2deg);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.hero-card::before {
  width: 96px;
  height: 96px;
  left: -30px;
  top: 16%;
  background: rgba(29, 183, 122, 0.2);
  animation: floatY 4.5s ease-in-out infinite;
}

.hero-card::after {
  width: 68px;
  height: 68px;
  right: -18px;
  bottom: 18%;
  background: rgba(239, 106, 91, 0.2);
  animation: floatY 5.4s ease-in-out infinite reverse;
}

.hero-card__image {
  overflow: hidden;
  border-radius: 22px;
  background: #221a16;
}

.hero-card__image img {
  width: 100%;
  height: min(58svh, 540px);
  object-fit: cover;
}

.hero-card__note {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(20, 15, 12, 0.16);
  backdrop-filter: blur(16px);
}

.hero-card__note span,
.hero-card__note strong {
  display: block;
}

.hero-card__note span {
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
}

.hero-card__note strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.scroll-cue {
  width: 38px;
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: start center;
  padding-top: 10px;
  border: 1px solid rgba(43, 37, 34, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  animation: scrollDot 1.8s ease-in-out infinite;
}

.metrics {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), 1040px);
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metrics article,
.story__panel,
.journey__list li,
.video-card,
.qr-card {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.metrics article {
  min-height: 118px;
  padding: 20px;
  border-radius: 20px;
}

.metrics span,
.video-card span,
.qr-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metrics strong {
  display: block;
  margin: 4px 0 2px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.18;
}

.metrics p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section,
.share-section,
.journey,
.records,
.donate,
.closing {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 82px 18px;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section__heading p:not(.eyebrow),
.story__panel p,
.journey p,
.donate__copy p,
.closing p {
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
}

.share-section {
  padding-top: 0;
  padding-bottom: 260px;
}

.share-copy {
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 224, 207, 0.52), rgba(255, 255, 255, 0.86)),
    #fff;
  box-shadow: 0 14px 38px rgba(87, 54, 39, 0.11);
}

.share-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.share-actions {
  margin-top: 18px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.copy-share {
  border: 0;
  cursor: pointer;
}

.copy-tip {
  display: block;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

.story__panel {
  position: relative;
  padding: 28px;
  border-radius: 24px;
}

.story__panel::before {
  content: "“";
  position: absolute;
  right: 22px;
  top: -22px;
  color: rgba(239, 106, 91, 0.22);
  font-size: 120px;
  line-height: 1;
  font-family: Georgia, serif;
}

.story__panel p {
  position: relative;
  margin-bottom: 16px;
  font-size: 17px;
}

.story__panel p:last-child {
  margin-bottom: 0;
}

.journey {
  padding-top: 20px;
}

.journey__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.journey__list::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--rose), var(--mint));
  opacity: 0.32;
}

.journey__list li {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
}

.journey__list span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #ffab87);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(207, 70, 56, 0.22);
}

.journey__list p {
  margin-bottom: 0;
}

.records {
  width: 100%;
  max-width: none;
  margin-top: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 88% 18%, rgba(36, 125, 128, 0.14), transparent 34%);
}

.records > * {
  width: min(100%, 1040px);
  margin-left: auto;
  margin-right: auto;
}

.video-card {
  overflow: hidden;
  border-radius: 24px;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #18120f;
}

.video-card div {
  padding: 16px 18px 18px;
}

.video-card strong {
  display: block;
  font-size: 18px;
}

.gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #eee;
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 16px 38px rgba(30, 22, 18, 0.18);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72));
}

.photo span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-size: 18px;
  font-weight: 900;
}

.photo:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.donate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 38px;
  align-items: center;
}

.use-list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(36, 125, 128, 0.08);
}

.qr-card {
  position: relative;
  padding: 18px;
  border-radius: 26px;
  text-align: center;
  isolation: isolate;
}

.qr-card__halo {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 30px;
  background: conic-gradient(from 180deg, rgba(239, 106, 91, 0.3), rgba(29, 183, 122, 0.24), rgba(239, 106, 91, 0.3));
  filter: blur(18px);
  opacity: 0.82;
  animation: breathe 2.8s ease-in-out infinite;
}

.qr-card img {
  width: 100%;
  border-radius: 18px;
  background: #fff;
}

.qr-card strong {
  display: block;
  margin-top: 16px;
  font-size: 21px;
}

.closing {
  padding-top: 34px;
  padding-bottom: 0;
  text-align: center;
}

.closing p {
  max-width: 660px;
  margin: 0 auto 8px;
}


.sticky-help {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 10;
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(64, 43, 32, 0.22);
  backdrop-filter: blur(16px);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}

.sticky-help.is-visible {
  transform: translateY(0);
}

.sticky-help a {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.sticky-help a:first-child {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  animation: pulse 2.2s ease-in-out infinite;
}

.sticky-help a:last-child {
  background: #fff4e9;
  color: var(--ink);
}

.lightbox {
  width: min(94vw, 980px);
  padding: 0;
  border: 0;
  overflow: visible;
  border-radius: 22px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(20, 15, 12, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 86svh;
  object-fit: contain;
  border-radius: 22px;
  background: #111;
}

.lightbox__close {
  position: absolute;
  right: -8px;
  top: -50px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.7s ease var(--delay, 0ms),
    transform 0.7s ease var(--delay, 0ms);
}

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

@keyframes shine {
  0%,
  64% {
    transform: translateX(0) rotate(18deg);
  }
  100% {
    transform: translateX(520%) rotate(18deg);
  }
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(20px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
}

@keyframes floatY {
  0% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(12px);
  }
}

@keyframes glowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-7vw, -5vh, 0) scale(1.08);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.9;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 106, 91, 0.28);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 106, 91, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-inline: 16px;
    padding-bottom: 54px;
  }

  .topbar {
    justify-content: space-between;
    margin-bottom: 34px;
  }

  .topbar a {
    min-width: 0;
    flex: 1;
    padding-inline: 8px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-card {
    width: 100%;
    justify-self: center;
    transform: rotate(0);
  }

  .hero-card__image img {
    height: 52svh;
    min-height: 340px;
  }

  .hero__actions .button {
    flex: 1 1 156px;
  }

  .scroll-cue {
    margin-top: 28px;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .metrics article {
    min-height: 96px;
  }

  .section,
  .share-section,
  .journey,
  .records,
  .donate,
  .closing {
    padding: 62px 16px;
  }

  .story,
  .donate {
    grid-template-columns: 1fr;
  }

  .share-section {
    padding-top: 0;
    padding-bottom: 170px;
  }

  .story__panel {
    padding: 22px;
  }

  .journey__list::before {
    left: 23px;
  }

  .journey__list li {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .journey__list span {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

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

  .photo {
    min-height: 244px;
  }

  .donate {
    gap: 28px;
  }

  .qr-card {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .closing {
    padding-bottom: 130px;
  }

  .sticky-help {
    display: grid;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 38px;
  }

  .hero__lead,
  .story__panel p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-card__image img {
    height: 48svh;
    min-height: 300px;
  }
}
