﻿@font-face {
  font-family: "Pacaembu";
  src: url("../fonts/Pacaembu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pacaembu";
  src: url("../fonts/Pacaembu-Black.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #33399a;
  --blue-strong: #1d236f;
  --blue-soft: #eceefa;
  --gold: #ffc82e;
  --green: #00994d;
  --ink: #151a3d;
  --muted: #5d6478;
  --paper: #fff9e8;
  --white: #ffffff;
  --green-strong: #00783f;
  --shadow: 0 22px 70px rgba(29, 35, 111, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pacaembu", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  background: rgba(29, 35, 111, 0.96);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
}

.brand img {
  width: 214px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-block: 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-strong);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 35, 111, 0.95) 0%, rgba(29, 35, 111, 0.76) 38%, rgba(0, 153, 77, 0.22) 70%),
    linear-gradient(0deg, rgba(29, 35, 111, 0.9) 0%, rgba(29, 35, 111, 0) 36%);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 86px;
  transform: translateX(clamp(-180px, -12vw, 0px));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(4.1rem, 10vw, 9rem);
  line-height: 0.9;
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 800;
  color: var(--blue-strong);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.12;
  color: var(--blue-strong);
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.16;
  font-weight: 800;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: var(--blue-strong);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
}

.section,
.section-band {
  padding: clamp(76px, 9vw, 128px) 0;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro p:last-child,
.story-copy p,
.cause-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.story-grid,
.cause-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.portrait-stack {
  position: relative;
  min-height: 620px;
}

.portrait-main,
.portrait-card,
.gallery-grid img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portrait-main {
  height: 620px;
  object-position: center top;
}

.portrait-card {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: min(310px, 54%);
  height: 360px;
  border: 10px solid var(--white);
  object-position: center;
}

blockquote {
  margin: 34px 0 0;
  padding: 24px 0 24px 28px;
  border-left: 6px solid var(--gold);
  color: var(--blue);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
  font-weight: 800;
}

.cause {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-strong), var(--blue) 56%, var(--green-strong));
}

.cause h2,
.cause h3 {
  color: var(--white);
}

.cause-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-panel {
  padding: clamp(28px, 4vw, 52px);
  border-top: 8px solid var(--gold);
  background: var(--white);
  color: var(--blue-strong);
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.05;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.pillars article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--blue-soft);
  background: var(--white);
}

.pillars span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
}

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

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

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-grid img {
  height: 430px;
}

.gallery-grid img:nth-child(2) {
  height: 520px;
  margin-top: 54px;
}

.final-cta {
  padding: clamp(76px, 10vw, 132px) 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-strong), var(--blue) 54%, var(--green));
}

.final-cta h2 {
  color: var(--white);
}

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

.contact-box {
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-box h3 {
  color: var(--white);
}

.contact-box a {
  display: block;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-weight: 800;
}

.contact-box small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer {
  padding: 30px 0;
  background: var(--blue-strong);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  width: 190px;
}

.footer-grid p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(29, 35, 111, 0.98);
  }

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

  .nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero {
    min-height: 94vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(29, 35, 111, 0.96), rgba(29, 35, 111, 0.58)),
      linear-gradient(0deg, rgba(29, 35, 111, 0.92), rgba(29, 35, 111, 0) 42%);
  }

  .hero-media img {
    object-position: 62% top;
  }

  .hero-content {
    transform: none;
  }

  .intro-grid,
  .story-grid,
  .cause-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .portrait-stack {
    min-height: auto;
  }

  .portrait-main {
    height: min(620px, 120vw);
  }

  .portrait-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 70%;
    height: 320px;
    margin: -86px 0 0 auto;
  }

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

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

  .gallery-grid img,
  .gallery-grid img:nth-child(2) {
    height: min(520px, 112vw);
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 168px;
  }

  .hero-content {
    width: min(100% - 28px, 760px);
    padding-bottom: 56px;
  }

  .hero-media img {
    object-position: 58% top;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

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

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

  .pillars article {
    min-height: 230px;
  }

  .portrait-card {
    width: 82%;
  }

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