/* Precious Pairs Inc — parent site
   Brand tokens from the MyNET30 brand kit v1 (2026-11-11):
   Navy #0A2A5E · Growth Green #0AA655 · Slate #3D4A5C · Paper #F6F8FA · Border #D9E1EA
   Montserrat headings, Inter body. Glassmorphic surfaces + ascending-steps motif. */

:root {
  --navy: #0A2A5E;
  --navy-deep: #071F45;
  --green: #0AA655;
  --green-dark: #078243;
  --slate: #3D4A5C;
  --paper: #F6F8FA;
  --border: #D9E1EA;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow: 0 18px 45px rgba(10, 42, 94, 0.14);
  --radius: 20px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--slate);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Soft ambient colour fields behind the glass */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}
body::before {
  width: 560px; height: 560px;
  background: rgba(10, 166, 85, 0.16);
  top: -180px; right: -140px;
}
body::after {
  width: 640px; height: 640px;
  background: rgba(10, 42, 94, 0.14);
  bottom: -260px; left: -200px;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--navy); }
a:hover { color: var(--green); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 250, 0.82);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(217, 225, 234, 0.8);
}
.header-in {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.brand img { width: 42px; height: 42px; border-radius: 11px; display: block; }
.brand .brand-name {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 800; font-size: 1.16rem; color: var(--navy); line-height: 1.1;
}
.brand .brand-sub {
  display: block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
}
nav.main { margin-left: auto; }
nav.main ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center;
}
nav.main a {
  text-decoration: none; font-weight: 500; font-size: 0.97rem;
  padding: 8px 13px; border-radius: 999px; color: var(--slate);
}
nav.main a:hover { color: var(--navy); background: rgba(10, 42, 94, 0.06); }
nav.main a[aria-current="page"] { color: var(--navy); background: rgba(10, 166, 85, 0.13); font-weight: 600; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 24px; border-radius: 999px; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(10, 166, 85, 0.32); }
.btn-green:hover { background: #09914B; color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(10, 42, 94, 0.28); }
.btn-navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: var(--glass); color: var(--navy);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
nav.main a.btn { color: #fff; }
nav.main a.btn:hover { color: #fff; background: #09914B; }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--glass-strong); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 13px; cursor: pointer;
  font-family: inherit; font-weight: 600; color: var(--navy); font-size: 0.95rem;
}

/* ---------- Layout / sections ---------- */
main { display: block; }
section { padding: 64px 0 8px; }
section.tight { padding-top: 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.lede { font-size: 1.14rem; color: var(--slate); max-width: 46em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Glass card */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.45);
}
.card { padding: 30px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Hero */
.hero { padding: 58px 0 10px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 38px; align-items: center;
}
.hero-copy .tagline {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700; color: var(--green); font-size: 1.05rem; margin-bottom: 10px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-media { position: relative; }
.hero-media img.hero-img {
  width: 100%; height: auto; display: block;
  border-radius: 26px; box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px;
  padding: 12px 18px; border-radius: 14px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* Steps motif */
.steps { display: inline-flex; align-items: flex-end; gap: 4px; }
.steps i { display: block; width: 13px; background: var(--green); border-radius: 3px 3px 0 0; }
.steps i:nth-child(1) { height: 8px; opacity: 0.45; }
.steps i:nth-child(2) { height: 14px; opacity: 0.7; }
.steps i:nth-child(3) { height: 20px; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card { padding: 26px 24px; position: relative; overflow: hidden; }
.step-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 5px;
  background: var(--green); border-radius: 0 4px 0 0;
}
.step-card:nth-child(1)::after { width: 25%; opacity: 0.45; }
.step-card:nth-child(2)::after { width: 50%; opacity: 0.65; }
.step-card:nth-child(3)::after { width: 75%; opacity: 0.85; }
.step-card:nth-child(4)::after { width: 100%; }
.step-num {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase; margin-bottom: 8px;
}

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding: 18px 26px; margin-top: 44px;
  font-weight: 600; color: var(--navy); font-size: 0.96rem;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; }
.trust-strip .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--green); padding: 0; }

/* Programme feature */
.programme { padding: 34px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: center; }
.programme img.plogo { max-width: 340px; width: 100%; height: auto; display: block; margin: 0 auto; }
.feature-list { list-style: none; margin: 18px 0 24px; padding: 0; }
.feature-list li { padding: 7px 0 7px 30px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 15px; height: 9px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

/* Fact table (transparency) */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td {
  text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border);
  vertical-align: top; font-size: 1rem;
}
.facts th { font-family: "Montserrat", Helvetica, Arial, sans-serif; color: var(--navy); width: 34%; font-weight: 700; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: none; }

/* Profile links */
.profile-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.profile-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px; text-decoration: none; font-weight: 600;
}
.profile-links a small { display: block; font-weight: 400; color: var(--slate); font-size: 0.88rem; }
.profile-links a .arrow { color: var(--green); font-size: 1.25rem; flex-shrink: 0; }
.profile-links a:hover { border-color: var(--green); }

/* Fundraiser cards */
.fund { padding: 32px; display: flex; flex-direction: column; }
.fund .goal {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 800; color: var(--navy); font-size: 1.5rem; margin: 4px 0 2px;
}
.fund .goal small { font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.fund .btn { margin-top: auto; text-align: center; }

/* CTA band */
.cta-band {
  margin: 58px 0 70px; padding: 44px 38px; text-align: center;
  background: linear-gradient(135deg, rgba(10, 42, 94, 0.94), rgba(7, 31, 69, 0.96));
  border-radius: 26px; color: #E8EEF6;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9D6E8; max-width: 42em; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .steps i { background: #35C877; }

/* Footer */
footer.site {
  background: var(--navy-deep); color: #C9D6E8; margin-top: 20px;
}
.footer-in { padding: 52px 0 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
footer.site a { color: #C9D6E8; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site .flogo { max-width: 250px; width: 100%; height: auto; background: #fff; border-radius: 12px; padding: 10px 14px; }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0 26px; font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 22px;
}

/* Scroll to top */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--navy); color: #fff; cursor: pointer;
  font-size: 1.15rem; line-height: 1;
  box-shadow: 0 12px 28px rgba(10, 42, 94, 0.35);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#toTop.show { opacity: 1; pointer-events: auto; transform: none; }
#toTop:hover { background: var(--green); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .programme { grid-template-columns: 1fr; }
  .grid-3, .steps-row { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .steps-row { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--glass-strong); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 10px 22px 16px; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; }
  nav.main a { display: block; padding: 11px 13px; }
  section { padding-top: 46px; }
  .card, .programme, .fund { padding: 24px; }
  .cta-band { padding: 34px 22px; }
}
