:root {
  --purple: #5b08b7;
  --violet: #7f2ddb;
  --blue: #145ec8;
  --teal: #24a9bd;
  --ink: #17171d;
  --muted: #4e5360;
  --line: #d9d3eb;
  --gradient: linear-gradient(
    90deg,
    #5b08b7,
    #7f2ddb 35%,
    #145ec8 72%,
    #24a9bd
  );
  --gradient-dark: linear-gradient(90deg, #320080, #5c0eb0 45%, #1647bd);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

/* =========================================================
   UTILITY BAR
   ========================================================= */

.utility-bar {
  min-height: 34px;
  color: #fff;
  background: var(--gradient-dark);
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #ece8f5;
  overflow: visible;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

/* =========================================================
   BRAND
   ========================================================= */

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 50;
  text-decoration: none;
}

/* =========================================================
   CIRCULAR EMBLEM
   ========================================================= */

.brand-emblem {
  position: relative;
  width: 122px;
  height: 122px;
  flex: 0 0 122px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;
  border: 3px solid transparent;

  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #5b08b7, #7f2ddb 35%, #145ec8 72%, #24a9bd)
      border-box;

  transform: translateY(24px);
  box-shadow: 0 8px 22px rgba(68, 24, 122, 0.1);
  z-index: 60;
}

.emblem-ribbon {
  width: 49px;
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
}

.emblem-ring-text {
  position: absolute;
  left: 50%;
  width: 110px;
  transform: translateX(-50%);
  text-align: center;
  color: #5420a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.emblem-top {
  top: 10px;
}

.emblem-bottom {
  bottom: 10px;
}

/* =========================================================
   WORDMARK
   ========================================================= */

.brand-wordmark {
  display: flex;
  flex-direction: column;
  min-width: 285px;
  line-height: 1;
}

.brand-small {
  color: #16161c;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 0.98;
}

.brand-large {
  margin-top: 5px;
  display: flex;
  gap: 7px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-large span:first-child {
  color: #6521be;
}

.brand-large span:last-child {
  color: #347dc1;
}

/* =========================================================
   LINE + HEART UNDER WORDMARK
   ========================================================= */

.brand-divider {
  margin-top: 8px;
  display: flex;
  align-items: center;
  width: 230px;
  gap: 8px;
}

.brand-divider i {
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #6a20b8, #347bc3);
}

.brand-divider b {
  color: #6521be;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: #17171c;
}

.nav a:hover {
  color: #6521be;
}

.nav .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, #6521be, #347bc3);
}

.nav .donate {
  padding: 12px 20px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(100deg, #5807b2, #6f1bc3 45%, #2749ba);
  box-shadow: 0 5px 12px rgba(77, 22, 152, 0.18);
}

.nav .donate::after {
  display: none;
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #5c18b3;
  font-size: 28px;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fdfcff;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-art {
  min-height: 298px;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-message-art {
  background-image: url("../img/hero-message.jpg");
  background-position: center center;
}

.hero-beach-art {
  background-image: url("../img/hero-beach.jpg");
  background-position: center center;
}

/* =========================================================
   FOUR PILLARS
   ========================================================= */

.pillar-row {
  background: linear-gradient(180deg, #fbf9ff, #fff);
  border-bottom: 1px solid #ece8f4;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar {
  min-height: 92px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.pillar:last-child {
  border-right: 0;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-size: 2.4rem;
  font-weight: 800;
}

.ribbon-icon img {
  width: 28px;
  height: 46px;
  object-fit: contain;
}

.pillar-icon.hope {
  color: var(--teal);
}

.pillar h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.93rem;
  color: var(--purple);
}

.pillar p {
  margin: 4px 0 0;
  color: #333843;
  font-size: 0.82rem;
  line-height: 1.35;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  padding: 30px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.24fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 225px;
  object-fit: cover;
  border-radius: 13px;
}

.about-copy h2 {
  margin: 4px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--purple);
  font-size: 2rem;
}

.about-copy > p {
  line-height: 1.6;
  margin: 0 0 16px;
  color: #333742;
}

.mission {
  display: flex;
  gap: 15px;
  padding: 14px 18px;
  border-radius: 13px;
  background: linear-gradient(100deg, #f1e9ff, #eff5ff);
}

.mission > span {
  color: var(--purple);
  font-size: 2.2rem;
}

.mission strong {
  color: var(--purple);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.22rem;
}

.mission p {
  margin: 4px 0 0;
  line-height: 1.35;
}

/* =========================================================
   MAKE A DIFFERENCE
   ========================================================= */

.difference-card {
  border-radius: 15px;
  padding: 27px 30px;
  color: #fff;
  background: linear-gradient(135deg, #5410ba, #251c9e);
  align-self: stretch;
}

.big-heart {
  font-size: 3.4rem;
}

.difference-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.difference-card p {
  line-height: 1.5;
}

.difference-card a {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 20px;
  border-radius: 8px;
  background: #fff;
  color: #4012a3;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-strip {
  padding: 0 0 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid #cfc8e7;
  border-radius: 12px;
  background: #fff;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.feature-card > div {
  padding: 13px 12px;
}

.feature-card h3 {
  margin: 0 0 5px;
  color: var(--purple);
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0 0 11px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.feature-card a {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 900;
}

.together-art {
  background: #f6f1ff;
  object-fit: cover !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  color: #fff;
  background: linear-gradient(90deg, #240078, #3e049a 46%, #11219b);
}

.footer-grid {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  align-items: center;
  gap: 20px;
}

.footer-site {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
}

.footer-site span {
  font-size: 2rem;
}

.footer-pillars {
  display: flex;
  justify-content: center;
  gap: 10px;
  text-transform: capitalize;
  font-weight: 700;
}

.copyright {
  text-align: right;
  font-size: 0.76rem;
}

/* =========================================================
   TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 1000px) {
  .brand-emblem {
    width: 100px;
    height: 100px;
    flex-basis: 100px;
    transform: translateY(18px);
  }

  .emblem-ribbon {
    width: 40px;
  }

  .emblem-ring-text {
    width: 90px;
    font-size: 7px;
  }

  .brand-small {
    font-size: 13px;
  }

  .brand-large {
    font-size: 23px;
  }

  .brand-wordmark {
    min-width: 240px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 15px 35px rgba(55, 30, 90, 0.14);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 8px;
    border-bottom: 1px solid #eee;
  }

  .nav .donate {
    margin-top: 10px;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 330px;
    background-size: cover;
  }

  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar:nth-child(2) {
    border-right: 0;
  }

  .pillar:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 280px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 15px 0;
  }

  .footer-site,
  .footer-pillars {
    justify-content: center;
  }

  .copyright {
    text-align: center;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 20px, 1180px);
  }

  .utility-inner {
    font-size: 0.68rem;
  }

  .header-inner {
    min-height: 78px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-emblem {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
    transform: translateY(15px);
  }

  .emblem-ribbon {
    width: 32px;
  }

  .emblem-ring-text {
    width: 74px;
    font-size: 5.7px;
  }

  .emblem-top {
    top: 8px;
  }

  .emblem-bottom {
    bottom: 8px;
  }

  .brand-small {
    font-size: 10px;
  }

  .brand-large {
    font-size: 17px;
    gap: 5px;
  }

  .brand-wordmark {
    min-width: 190px;
  }

  .brand-divider {
    width: 165px;
    margin-top: 6px;
  }

  .nav {
    top: 78px;
  }

  .hero-art {
    min-height: 250px;
    background-size: cover;
  }

  .hero-message-art {
    background-position: center;
  }

  .hero-beach-art {
    background-position: center;
  }

  .pillar {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px 10px;
  }

  .pillar-icon {
    margin: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr 1fr;
  }

  .footer-pillars {
    font-size: 0.8rem;
    gap: 7px;
  }
}
