:root {
  --ink: #14241f;
  --forest: #1f4d3a;
  --leaf: #2f6b4f;
  --moss: #3d7a5c;
  --sun: #d4a017;
  --sun-soft: #f0d78c;
  --cream: #eef3ef;
  --mist: #d8e4dc;
  --paper: #f7faf8;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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.65;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(47, 107, 79, 0.08), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(212, 160, 23, 0.08), transparent 50%),
    var(--paper);
}

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

a {
  color: var(--leaf);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2 * var(--space), 42rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 36, 31, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.35rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: flex-end;
}

.site-header nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.82;
}

.site-header nav a:hover {
  opacity: 1;
  color: var(--forest);
}

/* Hero — one composition, full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 36, 31, 0.25) 0%, rgba(20, 36, 31, 0.55) 45%, rgba(20, 36, 31, 0.88) 100%),
    linear-gradient(90deg, rgba(31, 77, 58, 0.35), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 12vh, 7rem) clamp(3rem, 8vh, 5rem);
  max-width: 40rem;
  margin-left: max(var(--space), calc((100% - var(--max)) / 2));
  margin-right: auto;
  animation: rise 0.9s var(--ease) both;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--sun-soft);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--sun);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--sun-soft);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

.btn-secondary {
  background: var(--forest);
  color: var(--white);
  border: 0;
}

.btn-secondary:hover {
  background: var(--leaf);
  color: var(--white);
}

.btn-secondary.is-copied {
  background: var(--moss);
}

/* Sections */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-alt {
  background: linear-gradient(180deg, rgba(216, 228, 220, 0.55), rgba(238, 243, 239, 0.3));
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--forest);
}

.section p {
  margin: 0 0 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.section-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
}

.section-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.section-photo:hover img {
  transform: scale(1.03);
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.photo-strip figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.4rem;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.photo-strip figure:hover img {
  transform: scale(1.04);
}

.note {
  color: rgba(20, 36, 31, 0.85);
}

/* Donate */
.donate {
  background:
    linear-gradient(135deg, rgba(31, 77, 58, 0.95), rgba(20, 36, 31, 0.98)),
    var(--forest);
  color: var(--white);
}

.donate h2 {
  color: var(--sun-soft);
}

.donate p {
  color: rgba(255, 255, 255, 0.9);
}

.donate a {
  color: var(--sun-soft);
}

.donate-inner {
  max-width: 40rem;
}

.iban-block {
  margin: 1.75rem 0 1.25rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(240, 215, 140, 0.35);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
}

.iban-label {
  margin: 0 0 0.35rem !important;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.iban {
  margin: 0 0 1rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--white) !important;
}

.donate-extra {
  margin-bottom: 0 !important;
}

.gallery-wide {
  padding-top: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.75rem;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  border-radius: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding-block: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sun-soft);
}

.footer-label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.site-footer a {
  color: var(--sun-soft);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Motion */
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (max-width: 860px) {
  .site-header nav {
    display: none;
  }

  .split,
  .photo-strip,
  .photo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(88vh, 40rem);
  }

  .hero-copy {
    margin-left: var(--space);
    max-width: none;
    width: min(100% - 2 * var(--space), var(--max));
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .photo-strip figure:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .reveal,
  .btn,
  .section-photo img,
  .photo-strip img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal { opacity: 1; }
}
