:root {
  --bg: #f5f0e6;
  --bg-deep: #efe6d4;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text: #19212c;
  --muted: #5f6975;
  --line: rgba(25, 33, 44, 0.12);
  --line-strong: rgba(25, 33, 44, 0.2);
  --gold: #d5a328;
  --gold-soft: #f3e2a4;
  --gold-dark: #9f7413;
  --navy: #0e233c;
  --navy-soft: #173858;
  --shadow: 0 24px 60px rgba(17, 29, 43, 0.12);
  --shadow-strong: 0 32px 80px rgba(8, 19, 32, 0.2);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(213, 163, 40, 0.16), transparent 22%),
    radial-gradient(circle at 85% 12%, rgba(14, 35, 60, 0.08), transparent 18%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 38%, #f7f3eb 100%);
  line-height: 1.7;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 239, 0.84);
  border-bottom: 1px solid rgba(25, 33, 44, 0.08);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold), #f1cf72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.16);
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
}

.brand-text strong,
.brand-text small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-links .nav-cta {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  box-shadow: 0 12px 28px rgba(14, 35, 60, 0.18);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--text);
}

.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(213, 163, 40, 0.22), transparent 16%),
    radial-gradient(circle at 12% 10%, rgba(14, 35, 60, 0.08), transparent 24%);
  pointer-events: none;
}

.hero-grid,
.about-grid,
.contact-grid,
.cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.hero-grid {
  align-items: start;
}

.hero-copy,
.hero-visual,
.section-heading,
.story-main,
.story-side {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-top: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.eyebrow-chip,
.eyebrow,
.section-tag,
.timeline-date,
.network-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(14, 35, 60, 0.08);
  box-shadow: 0 8px 18px rgba(14, 35, 60, 0.06);
}

.eyebrow,
.section-tag,
.network-label {
  color: var(--gold-dark);
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1,
.section h2,
.media-copy h3,
.gallery-copy h3,
.info-card h3,
.feature-item h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.hero h1,
.section h2 {
  margin: 0 0 1rem;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  max-width: 12ch;
}

.hero-text,
.section p,
.info-card p,
.feature-item p,
.contact-card dd,
.contact-card a,
.footer-note {
  color: var(--muted);
}

.section .section-tag,
.section .timeline-date,
.section .network-label,
.section .media-source {
  color: var(--gold-dark);
}

.section.accent p,
.section.accent li {
  color: rgba(255, 255, 255, 0.84);
}

.hero-text {
  max-width: 62ch;
  font-size: 1.04rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: #37414d;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-note {
  max-width: 55ch;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.96rem;
  color: #445160;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button.primary {
  color: #1b1e22;
  background: linear-gradient(135deg, var(--gold), #f0d17a);
  box-shadow: 0 16px 34px rgba(213, 163, 40, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(25, 33, 44, 0.12);
}

.button.light {
  background: #fff;
  color: var(--navy);
}

.button.full-width {
  width: 100%;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: start;
  min-height: auto;
}

.hero-image-card,
.info-card,
.contact-card,
.story-card,
.gallery-card,
.media-card,
.media-image,
.feature-panel {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-image-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 33, 52, 0.1);
  box-shadow: 0 32px 80px rgba(9, 18, 31, 0.16);
}

.hero-image-card-wide {
  grid-column: 1 / -1;
}

.hero-image-card-secondary {
  grid-column: 1 / 2;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-caption {
  position: static;
  padding: 1.05rem 1.35rem 1.25rem;
  color: #445160;
  font-size: 0.95rem;
  line-height: 1.6;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 226, 0.9));
}

.hero-trust-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-trust-card,
.hero-float,
.hero-trust-card strong,
.hero-trust-card small,
.float-label {
  display: block;
}

.hero-trust-card {
  min-height: 100%;
  padding: 1.3rem 1.25rem;
  border-radius: 24px;
  color: #f8fafc;
  background:
    linear-gradient(180deg, rgba(17, 39, 66, 0.98), rgba(16, 33, 55, 0.95)),
    radial-gradient(circle at top right, rgba(213, 163, 40, 0.16), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(9, 20, 34, 0.22);
}

.float-label {
  margin-bottom: 0.45rem;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-trust-card strong {
  line-height: 1.3;
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
}

.hero-trust-card small {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.hero-ribbon {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ribbon-item {
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(25, 33, 44, 0.08);
  box-shadow: 0 16px 40px rgba(17, 29, 43, 0.1);
}

.ribbon-item span {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.ribbon-item strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.ribbon-item p {
  margin: 0;
  color: var(--muted);
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.18));
}

.section.accent {
  background:
    radial-gradient(circle at top right, rgba(213, 163, 40, 0.24), transparent 18%),
    linear-gradient(135deg, var(--navy), #122d4a);
  color: #fff;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 14ch;
}

.story-layout {
  display: grid;
  gap: 1.5rem;
}

.story-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.story-grid .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0.4rem;
}

.story-card {
  padding: 1.8rem;
}

.story-main {
  border-top: 4px solid var(--gold);
}

.story-side {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 235, 208, 0.65));
}

.detail-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 0.55rem;
}

.detail-list-light {
  color: rgba(255, 255, 255, 0.84);
}

.feature-panel {
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.feature-item {
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(25, 33, 44, 0.08);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.cards-elevated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.contact-card,
.gallery-copy {
  padding: 1.55rem;
}

.info-card {
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(213, 163, 40, 0));
}

.card-number {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold-dark);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.network-grid .info-card {
  min-height: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transform: scale(1.01);
}

.gallery-copy h3 {
  margin: 0 0 0.6rem;
}

.info-card h3,
.feature-item h3,
.media-copy h3 {
  margin: 0 0 0.7rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-dark);
}

.media-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.5rem;
  padding: 1.5rem;
}

.media-copy {
  padding: 0.4rem;
}

.media-source,
.timeline-date {
  color: var(--gold-dark);
  margin: 0 0 0.55rem;
}

.media-source {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.media-image {
  display: flex;
  overflow: hidden;
}

.media-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center 14%;
}

.donate-section {
  background:
    radial-gradient(circle at top left, rgba(213, 163, 40, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(14, 35, 60, 0.98), rgba(20, 44, 71, 0.96));
  color: #fff;
}

.donate-section .section-tag,
.donate-section p,
.donate-section span,
.donate-section .qr-note,
.donate-section .donation-label {
  color: rgba(255, 255, 255, 0.82);
}

.donate-section h2,
.donation-card h3 {
  color: #fff;
}

.donate-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.donate-copy {
  max-width: 50rem;
}

.donate-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.donate-point {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.donate-point strong,
.donate-point span {
  display: block;
}

.donate-point strong {
  margin-bottom: 0.4rem;
  color: var(--gold-soft);
}

.donation-card {
  padding: 1.35rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(6, 16, 29, 0.28);
  backdrop-filter: blur(12px);
}

.donation-card-top {
  margin-bottom: 1rem;
}

.donation-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donation-card h3 {
  margin: 0;
  font-size: 1.8rem;
}

.qr-frame {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(25, 33, 44, 0.08);
}

.qr-frame img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 18px;
}

.qr-note {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cta-panel {
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-actions {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.join-contact-inline {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.join-contact-inline a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-card dl {
  margin: 0 0 1.5rem;
}

.contact-card div + div {
  margin-top: 1rem;
}

.contact-card dt {
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.contact-card dd {
  margin: 0;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid rgba(25, 33, 44, 0.08);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .story-grid,
  .about-grid,
  .donate-shell,
  .donate-points,
  .cards-elevated,
  .contact-grid,
  .cta,
  .hero-ribbon,
  .media-card {
    grid-template-columns: 1fr;
  }

  .hero-ribbon {
    margin-top: 1.5rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .gallery-grid,
  .donate-shell,
  .contact-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(25, 33, 44, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero h1,
  .section h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-copy {
    padding-top: 0;
  }

  .gallery-card img,
  .media-image img {
    min-height: 280px;
    height: 280px;
  }

  .brand-text small {
    display: none;
  }

  .footer-content {
    flex-direction: column;
  }
}
