@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary variables */
  --gold:       #C09D4B;
  --gold-warm:  #C4973F;
  --gold-sand:  #D2B980;
  --beige:      #E8E0D0;
  --slate:      #44546A;
  --blue-grey:  #7A92AA;
  --soft-bg:    #E2E8F0;
  --white:      #FFFFFF;
  --navy-dark:  #0F2440;
  --navy:       #1E3A5A;
  --navy-deep:  #203C55;
  --blue-light: #3A6D9C;
  --text-main:  #0F2440;
  /* Aliases (raisiningimpact2 compatibility) */
  --darkest-navy:    #0F2440;
  --dark-navy:       #1E3A5A;
  --deep-blue:       #203C55;
  --lighter-blue:    #3A6D9C;
  --rich-gold:       #C09D4B;
  --warm-gold:       #C4973F;
  --sand-gold:       #D2B980;
  --slate-grey:      #44546A;
  --light-blue-grey: #7A92AA;
  --black:           #000000;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ── HEADER ── */
.site-header {
  background-color: var(--white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 36, 64, 0.08);
  border-bottom: 1px solid var(--soft-bg);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--soft-bg);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s;
}

.nav-toggle:hover {
  border-color: var(--rich-gold);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--darkest-navy);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

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

.brand-text {
  color: var(--darkest-navy);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.brand-text span {
  color: var(--rich-gold);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.site-nav a {
  color: var(--darkest-navy);
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Helvetica', 'Arial', sans-serif;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--rich-gold);
  border-bottom-color: var(--rich-gold);
}

/* ── FOOTER ── */
.site-footer {
  background-color: var(--white);
  color: var(--slate-grey);
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--soft-bg);
  box-shadow: 0 -2px 10px rgba(15, 36, 64, 0.05);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand span {
  color: var(--darkest-navy);
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-brand span em {
  color: var(--rich-gold);
  font-style: normal;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--darkest-navy);
  text-decoration: none;
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--rich-gold);
}

.footer-line {
  border: none;
  border-top: 1px solid var(--soft-bg);
  margin: 1.2rem 0;
}

.footer-copy {
  color: var(--slate-grey);
  font-size: 0.85rem;
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.footer-copy a {
  color: var(--darkest-navy);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid var(--rich-gold);
  transition: color 0.3s;
}

.footer-copy a:hover {
  color: var(--rich-gold);
}

.footer-heart {
  display: inline-block;
}

.inline-link {
  color: var(--blue-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.inline-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ── SCROLL TO TOP BUTTON ── */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15,36,64,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--gold-warm);
  transform: translateY(-2px);
}

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--darkest-navy) 0%, var(--deep-blue) 55%, var(--dark-navy) 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(58, 109, 156, 0.35), transparent 60%),
              radial-gradient(circle at 75% 70%, rgba(192, 157, 75, 0.18), transparent 55%);
  z-index: -2;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%   { transform: scale(1) translate(0, 0); opacity: 0.9; }
  100% { transform: scale(1.08) translate(-1%, 1%); opacity: 1; }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-video.is-ready.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 64, 0.25);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  letter-spacing: 1px;
  text-shadow: 0 2px 14px rgba(15, 36, 64, 0.7);
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--sand-gold);
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(15, 36, 64, 0.7);
}

.hero-divider {
  width: 80px;
  height: 3px;
  background-color: var(--rich-gold);
  margin: 1.5rem auto;
  border: none;
}

.hero h2 {
  font-size: 1.8rem;
  color: var(--beige);
  margin-bottom: 1rem;
  font-weight: normal;
  text-shadow: 0 2px 10px rgba(15, 36, 64, 0.75);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(15, 36, 64, 0.8);
}

/* ── SECTION CONTAINER ── */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── PILLARS ── */
.pillars {
  background-color: var(--beige);
  padding: 4rem 2rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.pillar-card {
  background-color: var(--white);
  padding: 2.5rem 1.8rem;
  border-top: 4px solid var(--rich-gold);
  box-shadow: 0 4px 20px rgba(15, 36, 64, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(15, 36, 64, 0.15);
}

.pillar-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}

.pillar-card h3 {
  color: var(--darkest-navy);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  color: var(--slate-grey);
  font-size: 1rem;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy-dark);
  font-weight: 700;
}

/* ── PAGE HEADER (Contact page) ── */
.page-header {
  background: linear-gradient(135deg, var(--darkest-navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header .tagline {
  color: var(--sand-gold);
  font-style: italic;
  font-size: 1.2rem;
}

.page-header-divider {
  width: 80px;
  height: 3px;
  background-color: var(--rich-gold);
  margin: 1.2rem auto 0;
  border: none;
}

/* ── PAGE HERO (About page) ── */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  padding: 72px 60px 60px;
  color: var(--white);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero .subtitle {
  color: var(--gold-sand);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gold-bar {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 24px 0;
}

/* ── ABOUT CONTENT ── */
.about-intro {
  padding: 72px 60px;
  max-width: 860px;
  margin: 0 auto;
}

.intro-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  display: block;
  margin-bottom: 16px;
  user-select: none;
}

.intro-lead {
  font-size: 1.06rem;
  color: var(--slate);
  line-height: 1.88;
  margin-bottom: 28px;
}

.intro-lead strong {
  color: var(--navy-dark);
  font-weight: 600;
}

.mission-callout {
  background: linear-gradient(135deg, var(--beige) 0%, rgba(232,224,208,0.4) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 20px 28px;
  margin: 8px 0 32px;
}

.mission-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.mission-callout p {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}

.about-intro p {
  font-size: 1.02rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-intro p:last-child { margin-bottom: 0; }

/* ── JOURNEY ── */
.journey {
  background: var(--beige);
  padding: 72px 60px;
}

.journey-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.journey-main-title {
  font-family: 'Georgia', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy-dark);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
}

.journey-main-title em {
  font-style: italic;
  color: var(--gold-sand);
}

.journey-intro {
  font-size: 0.92rem;
  color: var(--slate);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.gold-bar-sm {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 32px;
}

/* Cards */
.journey-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.journey-card {
  display: grid;
  grid-template-columns: 1fr 260px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(15,36,64,0.10);
}

.journey-card-left {
  background: var(--white);
  padding: 36px 40px 30px;
  border-top: 3px solid var(--gold);
}

.journey-card-right {
  background: var(--navy-dark);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
}

/* Number + tag row */
.journey-num-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.journey-num {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
}

.journey-tag {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-sand);
}

/* Card title */
.journey-card-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  font-weight: 400;
}

.journey-card-title em {
  font-style: italic;
  color: var(--gold-sand);
}

.journey-card-body {
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 22px;
}

/* Stat pills row */
.journey-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--soft-bg);
  padding-top: 16px;
}

.journey-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.journey-stat-value {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  color: var(--navy-dark);
  font-weight: 400;
  line-height: 1;
}

.journey-stat-label {
  font-family: 'Courier New', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Outcome (right dark box) */
.outcome-label {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-sand);
  margin-bottom: 18px;
}

.outcome-stat {
  font-family: 'Georgia', serif;
  font-size: 3.8rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 14px;
}

.outcome-x {
  font-size: 2.4rem;
  color: var(--gold);
  vertical-align: middle;
}

.outcome-stat-text {
  font-family: 'Georgia', serif;
  font-size: 2.4rem;
  font-style: italic;
  color: var(--gold-sand);
  line-height: 1.15;
  margin-bottom: 14px;
}

.outcome-desc-title {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-sand);
  margin-bottom: 8px;
}

.outcome-desc {
  font-size: 0.76rem;
  color: rgba(232, 224, 208, 0.65);
  line-height: 1.65;
  margin-top: auto;
}

/* Legacy – keep for compatibility */
.journey-lead { color: var(--gold); font-weight: 600; }
.text-highlight { font-family: 'Georgia', serif; font-style: italic; color: var(--gold-sand); }

.stat-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 1px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.date-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-sand);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* ── HOW WE WORK ── */
.how-we-work {
  padding: 72px 60px;
  background: var(--white);
}

.how-we-work .section-header { text-align: left; margin-bottom: 40px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  background: var(--soft-bg);
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(15,36,64,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.step-card:hover {
  box-shadow: 0 12px 32px rgba(15,36,64,0.14);
  transform: translateY(-4px);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}

.step-card h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ── WHY PARTNER ── */
.why-partner {
  background: var(--beige);
  padding: 72px 60px;
}

.why-partner-inner { max-width: 860px; margin: 0 auto; }

.why-partner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.partner-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 0.95rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,36,64,0.09);
}

.partner-table th {
  background: var(--navy-dark);
  color: var(--gold-sand);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-table td {
  padding: 14px 20px;
  color: var(--slate);
  border-bottom: 1px solid #d8d0c0;
}

.partner-table td:first-child {
  font-weight: 600;
  color: var(--navy-dark);
  width: 200px;
}

.partner-table tr:last-child td { border-bottom: none; }
.partner-table tbody tr:nth-child(odd) td { background: #ffffff; }
.partner-table tbody tr:nth-child(even) td { background: #ddeaf7; }

/* ── TEAM ── */
.team {
  padding: 72px 60px;
  background: var(--white);
}

.team-intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.team-intro p {
  color: var(--slate);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.team-traits {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.trait-pill {
  background: var(--beige);
  border: 1px solid var(--gold-sand);
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(15,36,64,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  text-align: left;
}

.team-card:hover {
  box-shadow: 0 12px 32px rgba(15,36,64,0.15), 0 0 0 1px rgba(196,160,64,0.25);
  transform: translateY(-3px);
}

.team-avatar-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  background: var(--soft-bg);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-info {
  flex: 1;
  min-width: 0;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-role {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: none;
  transition: color 0.2s;
}

.team-linkedin:hover {
  color: var(--gold);
  border-bottom: none;
}

/* ── FOUNDING TEAM ── */
.founding-subheader {
  text-align: center;
  margin-bottom: 44px;
}

.founding-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--navy-dark);
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 14px;
}

.founding-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto;
}


/* ── CONTACT SECTION ── */
.contact-section {
  background-color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--beige);
  padding: 3rem 2rem;
  border-top: 4px solid var(--rich-gold);
  border-bottom: 4px solid var(--rich-gold);
}

.contact-box p {
  font-size: 1.15rem;
  color: var(--slate-grey);
  line-height: 1.8;
}

.contact-box a {
  color: var(--darkest-navy);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--rich-gold);
}

.contact-box a:hover {
  color: var(--rich-gold);
}

.contact-form-wrap {
  max-width: 700px;
  margin: 3rem auto 0;
  background-color: var(--white);
  padding: 2.8rem 2.2rem;
  border-top: 4px solid var(--rich-gold);
  box-shadow: 0 6px 30px rgba(15, 36, 64, 0.1);
  text-align: left;
}

.contact-form-title {
  color: var(--darkest-navy);
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.contact-form-subtitle {
  color: var(--light-blue-grey);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.contact-form label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--darkest-navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.contact-form label span {
  color: var(--rich-gold);
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--darkest-navy);
  background-color: var(--white);
  border: 1px solid var(--soft-bg);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--light-blue-grey);
  font-style: italic;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rich-gold);
  box-shadow: 0 0 0 3px rgba(192, 157, 75, 0.18);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #c04b4b;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  display: inline-block;
  background-color: var(--rich-gold);
  color: var(--white);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background-color: var(--warm-gold);
  box-shadow: 0 4px 14px rgba(192, 157, 75, 0.4);
  transform: translateY(-2px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-note {
  font-size: 0.8rem;
  color: var(--light-blue-grey);
  font-style: italic;
  margin-top: 1rem;
  text-align: center;
}

/* ── BACK TO TOP LINK ── */
.back-to-top {
  display: inline-block;
  margin-top: 2rem;
  color: var(--rich-gold);
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--rich-gold);
  padding: 0.6rem 1.4rem;
  transition: background-color 0.3s, color 0.3s;
  font-family: 'Inter', sans-serif;
}

.back-to-top:hover {
  background-color: var(--rich-gold);
  color: var(--white);
}


/* ── TABLET (1024px) ── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hero h2 { font-size: 1.5rem; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .section-container { padding: 0 0.5rem; }
}

/* ── TABLET (900px) ── */
@media (max-width: 900px) {
  /* Journey cards: stack, right box goes horizontal */
  .journey-card { grid-template-columns: 1fr; }
  .journey-card-right {
    padding: 22px 26px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .outcome-label { margin-bottom: 0; min-width: 100%; }
  .outcome-stat { margin-bottom: 0; font-size: 2.6rem; }
  .outcome-stat-text { margin-bottom: 0; font-size: 2rem; }
  .outcome-x { font-size: 1.7rem; }
  .outcome-desc-title { margin-bottom: 0; }
  .outcome-desc { margin-top: 0; }

  .page-hero, .about-intro, .journey,
  .how-we-work, .why-partner, .team { padding-left: 28px; padding-right: 28px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav ul { flex-wrap: wrap; gap: 1rem 1.5rem; }
}

/* ── MOBILE (768px) ── */
@media (max-width: 768px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .header-container {
    flex-direction: row;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
  }

  .brand img { height: 40px; }
  .brand-text { font-size: 1.15rem; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--soft-bg);
    box-shadow: 0 8px 18px rgba(15, 36, 64, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-header.nav-open .site-nav {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--soft-bg);
  }

  .site-nav li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    border-bottom: none;
    width: 100%;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background-color: var(--beige);
    border-bottom-color: transparent;
  }

  .hero { padding: 4rem 1.2rem 3.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero .tagline { font-size: 1.1rem; }
  .hero h2 { font-size: 1.3rem; }
  .hero p.lead { font-size: 1rem; }

  .pillars { padding: 3rem 1.2rem; }

  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .pillar-card { padding: 2rem 1.4rem; }

  .page-header { padding: 3rem 1.2rem 2.2rem; }
  .page-header h1 { font-size: 2rem; }
  .page-header .tagline { font-size: 1rem; }

  .contact-section { padding: 3.5rem 1.2rem; }
  .contact-box { padding: 2rem 1.2rem; }
  .contact-box p { font-size: 1rem; }

  .page-hero { padding: 48px 20px 40px; }

  /* Journey cards at 768px */
  .journey { padding: 48px 20px; }
  .journey-main-title { font-size: 1.9rem; }
  .journey-intro { margin-bottom: 32px; }
  .journey-card-left { padding: 28px 24px 24px; }
  .journey-num { font-size: 1.8rem; }
  .journey-card-title { font-size: 1.3rem; }
  .journey-card-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 24px;
  }
  .outcome-label { min-width: unset; }
  .outcome-stat { font-size: 2.4rem; margin-bottom: 4px; }
  .outcome-stat-text { font-size: 1.8rem; margin-bottom: 4px; }
  .outcome-x { font-size: 1.5rem; }

  .site-footer { padding: 2rem 1rem 1.2rem; }
  .footer-brand span { font-size: 1.05rem; }
}

/* ── SMALL PHONE (600px) ── */
@media (max-width: 600px) {
  .page-hero { padding: 48px 16px 40px; }
  .about-intro { padding: 48px 16px; }
  .journey { padding: 40px 16px; }
  .how-we-work { padding: 48px 16px; }
  .why-partner { padding: 48px 16px; }
  .team { padding: 48px 16px; }

  /* Journey cards at 600px */
  .journey-cards { gap: 18px; }
  .journey-card-left { padding: 24px 18px 20px; }
  .journey-card-right { padding: 18px 18px 20px; }
  .journey-main-title { font-size: 1.65rem; }
  .journey-intro { font-size: 0.85rem; margin-bottom: 26px; }
  .journey-num { font-size: 1.6rem; }
  .journey-tag { font-size: 0.55rem; }
  .journey-card-title { font-size: 1.15rem; }
  .journey-card-body { font-size: 0.83rem; }
  .journey-stats { gap: 16px; }
  .journey-stat-value { font-size: 1rem; }
  .outcome-stat { font-size: 2rem; }
  .outcome-stat-text { font-size: 1.55rem; }

  .steps-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-avatar-wrap { width: 52px; height: 52px; }
  .why-partner-inner { overflow-x: auto; }
  .partner-table { min-width: 480px; }

  .footer-nav ul { gap: 0.6rem 1.2rem; }
}

/* ── SMALL PHONE (480px) ── */
@media (max-width: 480px) {
  .brand-text { font-size: 1.05rem; }
  .brand img { height: 36px; }

  .site-nav a { font-size: 0.95rem; padding: 0.8rem 1.2rem; }

  .hero { padding: 3rem 1rem 2.8rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero .tagline { font-size: 0.95rem; }
  .hero h2 { font-size: 1.1rem; }
  .hero p.lead { font-size: 0.95rem; }

  .pillar-card h3 { font-size: 1.2rem; }

  .page-header h1 { font-size: 1.7rem; }
  .contact-box { padding: 1.8rem 1rem; }
  .contact-form-wrap { padding: 2rem 1.3rem; }
  .contact-form-title { font-size: 1.4rem; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }

  .back-to-top { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

  /* Journey cards at 480px */
  .journey { padding: 36px 14px; }
  .journey-main-title { font-size: 1.45rem; }
  .journey-num-row { gap: 10px; }
  .journey-num { font-size: 1.45rem; }
  .journey-card-title { font-size: 1.05rem; }
  .journey-card-left { padding: 20px 16px 18px; }
  .journey-card-right { padding: 16px 16px 18px; }
  .outcome-stat { font-size: 1.8rem; }
  .outcome-stat-text { font-size: 1.4rem; }
  .outcome-x { font-size: 1.2rem; }
}

/* ── VERY SMALL PHONE (360px) ── */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.55rem; }
  .hero h2 { font-size: 1rem; }
  .page-header h1 { font-size: 1.5rem; }
  .brand-text { font-size: 0.95rem; }
}
