:root {
  --paper: #f8f6f2;
  --paper-deep: #eee8dd;
  --ink: #1f1f1f;
  --muted: #66615a;
  --line: rgba(31, 31, 31, 0.12);
  --panel: rgba(255, 255, 255, 0.72);
  --white: #ffffff;
  --emerald: #1f7a6a;
  --emerald-dark: #135347;
  --gold: #b99a62;
  --rose: #b83a62;
  --blue: #2f6fc4;
  --shadow: 0 24px 80px rgba(31, 31, 31, 0.12);
  --soft-shadow: 0 14px 44px rgba(31, 31, 31, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 122, 106, 0.12), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(185, 154, 98, 0.16), transparent 28rem),
    var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 31, 31, 0.035) 1px, transparent 1px);
  background-size: 100% 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(248, 246, 242, 0.78);
  box-shadow: 0 12px 40px rgba(31, 31, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(31, 31, 31, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

nav {
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

nav::-webkit-scrollbar {
  display: none;
}

nav a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

nav a:hover {
  color: var(--ink);
  background: rgba(31, 122, 106, 0.1);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 430px);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: clamp(122px, 12vw, 150px) 0 72px;
}

.hero-copy,
.profile-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.4vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.8vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--emerald);
  box-shadow: 0 18px 38px rgba(31, 122, 106, 0.26);
}

.button.primary:hover {
  background: var(--emerald-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.button.secondary.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.profile-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0), rgba(248, 246, 242, 0.72));
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
}

.profile-content {
  padding: 24px 24px 8px;
}

.profile-role {
  margin-bottom: 8px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-content h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.profile-content p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.social-row {
  display: grid;
  gap: 10px;
  padding: 18px 24px 24px;
}

.social-chip {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 900;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.social-chip:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

.social-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.whatsapp {
  background: #168a51;
}

.instagram {
  background: var(--rose);
}

.linkedin {
  background: var(--blue);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 90px;
}

.metric-card,
.help-card,
.org-card,
.gallery-item,
.content-hub,
.final-cta {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.metric-card {
  min-height: 170px;
  padding: 24px;
}

.metric-card strong {
  display: block;
  margin-bottom: 22px;
  color: var(--emerald);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.9;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.62fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  padding: 96px 0 38px;
}

.split-intro p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0 100px;
}

.help-card {
  min-height: 300px;
  padding: 26px;
}

.help-card span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 14px;
  color: var(--white);
  background: var(--emerald);
  font-weight: 900;
}

.help-card p,
.org-card p,
.hub-list p,
.final-cta p {
  color: var(--muted);
}

.organizations,
.gallery,
.content-hub,
.final-cta {
  margin-bottom: 96px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.org-card {
  min-height: 240px;
  padding: 30px;
}

.org-card h3 {
  font-size: 1.55rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin: 0;
}

.gallery-item.large {
  min-height: 430px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(31, 31, 31, 0.62);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.gallery-item.placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(31, 122, 106, 0.16), rgba(185, 154, 98, 0.16)),
    rgba(255, 255, 255, 0.64);
}

.gallery-item.placeholder span {
  color: var(--emerald);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) 1fr;
  gap: clamp(28px, 6vw, 72px);
  padding: 34px;
}

.hub-list {
  display: grid;
  gap: 14px;
}

.hub-list article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.46);
}

.final-cta {
  max-width: 980px;
  padding: clamp(32px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 122, 106, 0.94), rgba(19, 83, 71, 0.96)),
    var(--emerald);
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta p {
  max-width: 720px;
  font-size: 1.08rem;
}

footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

footer a {
  color: var(--emerald);
  font-weight: 900;
}

.reveal {
  animation: riseIn 760ms ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

  .reveal {
    animation: none;
  }

  .button,
  .social-chip {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-intro,
  .content-hub {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .profile-panel {
    width: min(100%, 460px);
  }

  .metrics,
  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  footer {
    width: min(1180px, calc(100% - 32px));
  }

  .brand span:last-child {
    max-width: 112px;
    font-size: 0.92rem;
    line-height: 1.05;
  }

  .site-header {
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 24px;
  }

  nav {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }

  nav a {
    padding: 9px 11px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.48);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .metrics,
  .help-grid,
  .org-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .help-card {
    min-height: auto;
  }

  .help-card span {
    margin-bottom: 34px;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 330px;
  }

  .content-hub {
    padding: 24px;
  }

  footer {
    flex-direction: column;
  }
}
