:root {
  --bg: #f1ede6;
  --paper: rgba(250, 247, 241, 0.84);
  --paper-strong: #f8f4ee;
  --line: rgba(79, 56, 38, 0.16);
  --ink: #1f1714;
  --muted: #62534a;
  --accent: #9d7a4f;
  --accent-strong: #6b4c2f;
  --panel-dark: #1f1814;
  --shadow: 0 30px 80px rgba(39, 25, 15, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at right 20%, rgba(170, 130, 89, 0.12), transparent 22%),
    linear-gradient(180deg, #f4f0e8 0%, #ece6dc 100%);
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0.16) 1px, transparent 1px, transparent 100%),
    linear-gradient(rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0.16) 1px, transparent 1px, transparent 100%);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
}

.page-shell {
  position: relative;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 20px auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.16));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header,
.hero,
.focus-strip,
.story-grid,
.donation-section,
.site-footer {
  animation: lift 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 4px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(107, 76, 47, 0.25);
  border-radius: 50%;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.45);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Bodoni Moda", Georgia, serif;
}

.brand-copy strong {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.story-card,
.donation-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-height: 700px;
  padding: clamp(34px, 6vw, 72px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(248, 242, 234, 0.74)),
    var(--paper);
}

.section-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(2.9rem, 5vw, 4.9rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fffaf4;
  background: linear-gradient(135deg, #a9885f, #6b4c2f);
  box-shadow: 0 16px 30px rgba(107, 76, 47, 0.22);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(107, 76, 47, 0.24);
  background: rgba(255, 255, 255, 0.44);
}

.hero-media {
  min-height: 700px;
  background: #201712;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.focus-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  padding: 1px;
  border: 1px solid rgba(202, 184, 160, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.focus-strip article {
  min-height: 228px;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(173, 128, 84, 0.16), transparent 38%),
    linear-gradient(180deg, #241b17 0%, #18120f 100%);
  color: #f6ede1;
}

.focus-strip span {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(246, 237, 225, 0.56);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.focus-strip h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.98;
  font-weight: 600;
}

.focus-strip p,
.story-copy p,
.donation-copy p,
.donation-card p {
  margin: 0;
  line-height: 1.75;
}

.focus-strip p {
  color: rgba(246, 237, 225, 0.76);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  margin-top: 18px;
}

.story-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 229, 0.92)),
    var(--paper-strong);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 580px;
  padding: clamp(30px, 4vw, 54px);
}

.story-copy h2,
.donation-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 600;
}

.story-copy p:not(.section-label),
.donation-copy p:not(.section-label) {
  color: var(--muted);
  font-size: 1.04rem;
}

.story-photo {
  background: #1f1713;
}

.story-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.donation-section {
  margin-top: 18px;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 240, 232, 0.94)),
    var(--paper-strong);
}

.donation-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

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

.donation-card {
  padding: 22px;
  border: 1px solid rgba(107, 76, 47, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.donation-card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.donation-card h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.donation-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.donation-card img {
  aspect-ratio: 1;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 18px;
  object-fit: cover;
  background: #ffffff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 22px 28px;
  border: 1px solid rgba(202, 184, 160, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(32, 24, 19, 0.96), rgba(24, 18, 15, 0.98));
  color: #f2e4d1;
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-note {
  margin: 0;
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@media (max-width: 1080px) {
  .hero,
  .story-grid,
  .donation-copy {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media,
  .story-copy {
    min-height: auto;
  }

  .hero-media {
    min-height: 580px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 18px, var(--max-width));
    margin: 10px auto;
    padding: 14px;
    border-radius: 26px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    margin-left: 0;
  }

  .focus-strip,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .focus-strip article,
  .hero-copy,
  .donation-section,
  .story-copy {
    padding: 24px;
  }

  .hero-media {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .story-copy h2,
  .donation-copy h2,
  .focus-strip h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .donation-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 14px;
  }
}
