/* Baraza Capital & Strategy — built from the Figma file "BARAZA CAPITAL STRATEGY" */

:root {
  --navy-900: #0e0e3c;
  --navy-800: #11114e;
  --blue: #0a2876;
  --blue-70: rgba(10, 40, 118, 0.7);
  --grey-bg: #f4f5f8;
  --line: #d8dae4;
  --line-strong: #c9cddd;
  --line-dark: #3f3f68;
  --muted: #5d5d68;
  --pale: #bfc5e4;
  --pale-2: #d9dded;
  --accent: #f46200;
  --white: #fff;

  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--navy-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--white); color: var(--navy-800);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  flex: none;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("../assets/icons/eyebrow.svg") center / contain no-repeat;
          mask: url("../assets/icons/eyebrow.svg") center / contain no-repeat;
}
.on-dark .eyebrow { color: var(--pale); }

.heading {
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.heading--xl { font-size: clamp(34px, 4.4vw, 48px); }
.heading--md { font-size: clamp(30px, 3.8vw, 42px); }
.heading b { font-weight: 700; }

.lead { font-size: 18px; line-height: 1.6; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 61px;
  padding: 12px 27px;
  border: 0;
  border-left: 2px solid var(--white);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn::after {
  content: "";
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("../assets/icons/arrow.svg") center / contain no-repeat;
          mask: url("../assets/icons/arrow.svg") center / contain no-repeat;
  transform: rotate(-85deg);
  transition: transform 0.2s ease;
}
.btn:hover { background: #12399e; }
.btn:hover::after { transform: rotate(-85deg) translate(1px, 2px); }
.btn--ghost { background: var(--blue-70); }
.btn--plain::after { display: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 122px;
  display: flex;
  align-items: center;
  transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  height: 84px;
  background: rgba(14, 14, 60, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.brand img { transition: width 0.3s ease; }
.site-header.is-scrolled .brand img { width: 190px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--white);
}
.lang-switch a {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.lang-switch a::before { content: "/"; color: rgba(255, 255, 255, 0.3); }
.lang-switch a:hover { color: var(--white); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, 100% - 2 * var(--gutter));
}
.brand img { width: 242px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav a,
.nav__more {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav__list a { position: relative; padding: 8px 0; }
.nav__list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav__dropdown { position: relative; }
.nav__more {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 0; background: none; border: 0; cursor: pointer;
}
.nav__more::after {
  content: "";
  width: 18px; height: 18px;
  background: url("../assets/icons/chevron-down.svg") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.nav__more[aria-expanded="true"]::after { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -18px;
  min-width: 240px; padding: 10px 0;
  background: var(--navy-900);
  border-left: 2px solid var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.nav__menu[hidden] { display: none; }
.nav__menu a { display: block; padding: 12px 18px; }
.nav__menu a:hover { background: rgba(255, 255, 255, 0.08); }

.nav__cta .btn { min-height: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0; border: 0; background: none; cursor: pointer;
  position: relative; z-index: 2;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--white); content: "";
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; right: 0; top: -8px; }
.nav-toggle span::after { left: 0; right: 0; top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Heroes ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__rings {
  position: absolute; z-index: -1;
  width: 866px; max-width: none;
  opacity: 0.15;
  transform: rotate(-90deg);
  pointer-events: none;
}

/* Inner pages */
.hero--page { min-height: 620px; display: flex; align-items: center; }
.hero--page .hero__bg { opacity: 0.32; }
.hero--page::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 14, 60, 0.95), rgba(14, 14, 60, 0.2));
}
.hero--page .hero__rings { right: -300px; top: 150px; }
.hero__content {
  width: min(1000px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-top: 122px;
  padding-bottom: 48px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  max-width: 680px;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero__intro {
  margin-top: 40px;
  max-width: 605px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.3;
}
.hero__intro b { font-weight: 700; }
.hero__action { margin-top: 48px; }

/* Fade sections in as they scroll into view (class added by main.js) */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* Home */
.hero--home .hero__bg { opacity: 0.41; height: 914px; }
.hero--home::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 914px; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--navy-900) 95.7%);
}
.hero-home__main {
  min-height: 914px;
  padding: 204px 0 120px;
}
.hero-home__main .container { width: min(1060px, 100% - 2 * var(--gutter)); }
.hero-home__title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6vw, 86px);
  line-height: 1.05;
  letter-spacing: -2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 64px;
}
.hero-home__title span { display: block; font-weight: 300; }
.hero-home__title strong { display: block; }
.hero-home__statement {
  border-top: 1px solid rgba(255, 255, 255, 0.29);
  width: min(1338px, 100% - 2 * var(--gutter));
  margin: -1px auto 0;
  padding: 107px 0 150px;
  text-align: center;
}
.hero-home__statement .eyebrow { color: var(--white); }
.hero-home__statement p:not(.eyebrow) {
  max-width: 760px;
  margin: 23px auto 0;
  font-size: clamp(24px, 2.8vw, 39px);
  line-height: 1.23;
}

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.section--grey { background: var(--grey-bg); }
.section--dark { background: var(--navy-900); color: var(--white); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow + .heading { margin-top: 26px; }

/* Heading on the left, paragraph on the right */
.intro-split {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: 26px 80px;
  align-items: start;
}
.intro-split .eyebrow { grid-column: 1 / -1; }
.intro-split .lead { padding-top: 4px; }

/* Media + text */
.split {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 36px clamp(36px, 5vw, 80px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 443px); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .eyebrow + * { margin-top: 24px; }

/* Three columns with a top rule */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 60px;
}
.col { border-top: 1px solid var(--line); padding-top: 18px; }
.on-dark .col { border-color: #424269; }
.col__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 45px; padding: 11px 0;
  background: rgba(10, 40, 118, 0.36);
  color: var(--pale);
  font-size: 13px; font-weight: 400; line-height: 1;
}
.col__num--text {
  width: auto; padding: 8px 0 0; background: none;
  color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
}
.col__title {
  margin-top: 28px;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}
.col__title--lg { margin-top: 36px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; }
.col__title--sm { margin-top: 8px; font-size: 24px; }
.col p { margin-top: 18px; font-size: 17px; line-height: 1.6; }
.col--muted p { color: var(--muted); }
.col__title--lg + p { font-size: 18px; margin-top: 28px; }
.on-dark .col p { color: var(--pale-2); font-family: var(--font-display); }

/* Numbered rows: number / title / description */
.rows { border-bottom: 1px solid var(--line); }
.rows li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 480px);
  gap: 8px 40px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--line);
}
.rows__num { padding-top: 4px; font-size: 13px; font-weight: 400; color: var(--blue); }
.rows__title { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.2; }
.rows__desc { font-size: 16px; line-height: 1.5; color: var(--muted); }
.on-dark .rows,
.on-dark .rows li { border-color: var(--line-dark); }
.on-dark .rows { border-bottom: 0; }
.on-dark .rows__num { color: #ced3e9; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; }
.on-dark .rows__title { font-size: clamp(20px, 2vw, 25px); }
.on-dark .rows__desc { color: #dde0ee; font-size: 17px; }
.rows--wide li { grid-template-columns: 90px minmax(0, 520px) minmax(0, 500px); justify-content: space-between; }

/* Cities band */
.cities {
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px);
  gap: 24px 80px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}
.cities__name { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; }
.cities--sm .cities__name { font-size: clamp(28px, 3vw, 38px); }
.cities__tag {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--blue);
}

/* Call-to-action band */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(80px, 9vw, 130px);
  background: var(--white);
}
.cta__bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--cta-opacity, 0.2);
}
.cta .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px 60px; flex-wrap: wrap;
}
.cta .heading { max-width: 760px; }

/* ---------- Home ---------- */

.home-who { padding-block: 140px 80px; overflow: visible; z-index: 1; }
.home-who .split { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 36px 120px; }
.home-who .split__media { aspect-ratio: 600 / 347; overflow: hidden; }
.home-who .split__media img { object-position: left center; }
.home-who h2 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 700; line-height: 1.2; }
.home-who p:not(.eyebrow) { margin-top: 30px; font-size: 14px; line-height: 1.7; max-width: 440px; }
.home-who .btn { margin-top: 34px; width: 200px; }
.home-who .eyebrow,
.home-mission__head .eyebrow { color: var(--navy-800); font-size: 10px; }

.home-globe {
  position: absolute; z-index: -1;
  right: -400px; top: 380px;
  width: 847px; max-width: none;
  pointer-events: none;
}

.home-mission { padding-block: 60px 140px; }
.home-mission__head { text-align: center; margin-bottom: 130px; }
.home-mission__head .heading { max-width: 760px; margin: 24px auto 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.home-mission .split { grid-template-columns: minmax(0, 600px) minmax(0, 504px); gap: 40px 96px; }
.home-mission .split__media { aspect-ratio: 600 / 750; background: #a0a0a0; overflow: hidden; }
.home-mission .split__media img { object-position: 47% center; }

.pillars li { border-bottom: 1px solid #e9e9e9; padding: 6px 0 10px; }
.pillars li + li { margin-top: 20px; }
.pillars__name {
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pillars__item--active .pillars__name {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700;
}
.pillars__item--active .pillars__name::before { content: "→"; font-weight: 400; font-size: 0.9em; }
.pillars__item--active p {
  margin: 18px 0 16px 40px;
  font-size: 14px; font-weight: 400; line-height: 1.95; color: #5d5d5d;
}

.partners { padding-block: 45px 90px; }
.partners__label { position: relative; text-align: center; margin-bottom: 34px; }
.partners__label::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: #f0f0f0;
}
.partners__label span {
  position: relative; padding: 4px 20px; background: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #262831;
}
.partners__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 36px 48px;
  max-width: 1100px;
}
.partner {
  display: flex; align-items: center; justify-content: center;
  width: 170px; height: 100px;
  padding: 6px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.partner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partner--dark { background: var(--navy-900); padding: 12px 18px; }
.partner--wide { width: 250px; }
.partner:hover,
.partner:focus-visible { transform: translateY(-3px); }
.partners__logos:hover .partner:not(:hover) { opacity: 0.6; }

.facts {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 120px 150px;
  background: var(--white);
  text-align: center;
}
.facts__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.facts__rings {
  position: absolute; z-index: -1; left: 50%; top: 205px;
  width: 866px; max-width: none; transform: translateX(-50%);
  opacity: 0.15;
}
.facts .heading { font-size: clamp(30px, 3vw, 40px); line-height: 1.2; }
.facts__sub { max-width: 760px; margin: 20px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.facts__stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 40px 76px;
  margin-top: 64px;
}
.stat { width: 190px; text-align: left; }
.stat__value {
  border-left: 1px solid var(--accent);
  font-size: 96px; font-weight: 400; line-height: 82px;
  letter-spacing: -2px; text-align: center;
  color: rgba(17, 17, 78, 0.5);
}
.stat__label { margin-top: 20px; font-size: 15px; font-weight: 400; line-height: 1.8; }

/* ---------- Inner page pieces ---------- */

.firm-who .split__media { aspect-ratio: 640 / 510; }
.firm-who .split { align-items: start; }
.firm-who h2 { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; line-height: 1.15; }
.firm-who p:not(.eyebrow) { margin-top: 40px; font-family: var(--font-display); font-size: 18px; line-height: 1.6; }
.firm-who p:not(.eyebrow) + p { margin-top: 28px; }

.business-intro__image {
  margin-top: 64px;
  aspect-ratio: 1191 / 442;
  overflow: hidden;
}
.business-intro__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

.fields {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 670px);
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}
.fields__media { aspect-ratio: 440 / 460; overflow: hidden; }
.fields__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.fields__list li {
  display: grid; grid-template-columns: 70px 1fr; align-items: baseline;
  padding: 15px 0 22px;
  border-top: 1px solid #3b3b63;
}
.fields__list span { font-size: 12px; font-weight: 400; color: var(--pale); }
.fields__list p { font-size: 21px; line-height: 1.3; }

.impact-ambition { padding-block: 78px 0; overflow: visible; }
.impact-ambition .split--reverse { align-items: start; }
.impact-ambition .heading { margin-top: 26px; }
.impact-ambition .lead { max-width: 460px; margin-top: 32px; padding-bottom: 80px; }
.impact-ambition__media {
  aspect-ratio: 443 / 583;
  margin-top: -155px;
  position: relative; z-index: 2;
}
.impact-ambition__media img { width: 100%; height: 100%; object-fit: cover; }

.impact-note { margin-top: 80px; font-size: 17px; line-height: 1.55; color: var(--muted); }

.trust .split { grid-template-columns: minmax(0, 520px) minmax(0, 560px); justify-content: space-between; }
.trust .split__media { aspect-ratio: 520 / 450; }
.trust .lead { margin-top: 28px; }
.trust__items { margin-top: 36px; }
.trust__items li { border-top: 1px solid var(--line); padding: 16px 0 6px; }
.trust__items h3 { font-size: 21px; font-weight: 700; line-height: 1.2; }
.trust__items p { margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 580px);
  gap: 0 clamp(40px, 7vw, 100px);
}
.contact-grid__rule { background: var(--line); }
.contact-info { padding-top: 40px; }
.contact-info .lead { max-width: 440px; margin-top: 40px; }
.contact-info dl { margin: 64px 0 0; }
.contact-info dt {
  margin-top: 44px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue);
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 16px 0 0; font-size: 20px; font-weight: 400; line-height: 1.6; }
.contact-info address { font-style: normal; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; }
.contact-info .dd-phone { font-size: 28px; font-weight: 300; }

.contact-form h2 { margin-top: 24px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; line-height: 1.2; }
.form-intro { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.form { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
.field { display: flex; flex-direction: column; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.field input,
.field textarea {
  width: 100%;
  padding: 20px 18px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--grey-bg);
  font: 400 15px/1.4 var(--font-sans);
  color: var(--navy-800);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--blue); background: #eceef4; }
.field [aria-invalid="true"] { border-bottom-color: #b42318; }

.consent { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__status { font-size: 14px; font-weight: 400; color: var(--blue); }
.form__status--error { color: #b42318; }

.presence-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 112px;
  background: var(--grey-bg);
}
.presence-band img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: 0.4;
}
.presence-band .heading { font-size: clamp(32px, 4vw, 50px); }
.presence-band p { margin-top: 36px; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.6; max-width: 640px; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800);
  color: var(--white);
  padding: 155px 0 60px;
}
.site-footer::before {
  content: ""; position: absolute; inset: auto 0 0; height: 49%; z-index: -1;
  background: url("../assets/img/footer-glow.png") center bottom / 100% 100% no-repeat;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px minmax(0, 260px);
  gap: 56px 40px;
}
.footer-brand img { width: 242px; height: auto; }
.footer-brand p { max-width: 420px; margin-top: 44px; font-size: clamp(30px, 3vw, 38px); line-height: 1.2; }
.footer-brand b { font-weight: 700; }
.footer-brand .btn { margin-top: 56px; width: 200px; }

.footer-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}
.footer-contact address { margin-top: 14px; font-style: normal; font-size: 17px; font-weight: 400; line-height: 1.6; }
.footer-contact a { display: block; margin-top: 12px; font-weight: 400; }
.footer-contact .phone { font-size: 24px; text-decoration: none; }
.footer-contact .email { font-size: 17px; overflow-wrap: anywhere; }
.footer-contact .footer-label:not(:first-child) { margin-top: 48px; }

.footer-nav ul { margin-top: 12px; }
.footer-nav a {
  display: inline-block;
  font-size: 15px; font-weight: 400; line-height: 1.8;
  text-transform: uppercase; text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 120px; padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px; font-weight: 400; line-height: 18px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom p:last-child { text-align: right; }

/* ---------- Managed-content extras ---------- */

video.hero__bg { pointer-events: none; }

/* Spam trap on the contact form: hidden from people, filled in by bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pillars details summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pillars details summary::-webkit-details-marker { display: none; }
.pillars details summary::after { content: "+"; font-weight: 300; font-size: 0.9em; transition: transform 0.2s ease; }
.pillars details[open] summary::after { transform: rotate(45deg); }
.pillars details p { margin: 14px 0 8px; font-size: 14px; font-weight: 400; line-height: 1.95; color: #5d5d5d; }

/* Donate page */
.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 380px);
  justify-content: space-between;
  gap: 56px 80px;
  align-items: start;
}
.donate-main .eyebrow + .heading { margin-top: 24px; }
.donate-form { margin-top: 48px; }
.donate-form legend { padding: 0; margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.donate-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 104px; padding: 16px 20px;
  background: var(--grey-bg);
  border-bottom: 1px solid var(--line-strong);
  font-size: 17px; font-weight: 400;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.amount input:checked + span { background: var(--blue); color: var(--white); border-color: var(--blue); }
.amount input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.paypal-area { grid-column: 1 / -1; max-width: 360px; }
.paypal-area__label { margin-bottom: 14px; font-size: 13px; font-weight: 400; color: var(--muted); }
.donate-side {
  padding: 40px;
  background: var(--navy-900);
  color: var(--white);
  border-left: 2px solid var(--accent);
}
.donate-side h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.donate-side p { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--pale-2); }
.donate-unavailable { margin-top: 32px; }
.notice {
  margin-bottom: 40px;
  padding: 22px 26px;
  background: var(--grey-bg);
  border-left: 3px solid var(--line-strong);
}
.notice--ok { border-left-color: #1f8a5b; background: #eef7f2; }
.notice h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.notice p { font-size: 16px; line-height: 1.6; }

@media (max-width: 960px) {
  .donate-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px;
    padding: 120px var(--gutter) 48px;
    background: var(--navy-900);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__list a, .nav__more { font-size: 15px; }
  .nav__menu { position: static; box-shadow: none; margin-top: 12px; }
  .brand { position: relative; z-index: 2; }
  .lang-switch { font-size: 15px; gap: 12px; }
  .lang-switch a { gap: 12px; }
  .nav-open .site-header { background: transparent; box-shadow: none; }
}

@media (max-width: 960px) {
  .split,
  .split--reverse,
  .home-who .split,
  .home-mission .split,
  .trust .split,
  .fields,
  .intro-split,
  .cities,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid__rule { display: none; }
  .contact-grid { gap: 72px; }
  .contact-info { padding-top: 0; }
  .cols-3 { grid-template-columns: 1fr; gap: 48px; }
  .rows li,
  .rows--wide li { grid-template-columns: 56px 1fr; }
  .rows__desc { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .home-globe { display: none; }
  .home-mission__head { margin-bottom: 64px; }
  .home-mission .split__media { aspect-ratio: 4 / 3; }
  .impact-ambition .lead { padding-bottom: 0; }
  .impact-ambition__media { margin-top: 0; aspect-ratio: 4 / 3; }
  .hero--page .hero__rings { right: -420px; }
}

@media (max-width: 640px) {
  .site-header { height: 96px; }
  .site-header.is-scrolled { height: 72px; }
  .brand img,
  .site-header.is-scrolled .brand img { width: 170px; }
  .hero--page { min-height: 480px; }
  .hero__content { padding-top: 110px; }
  .hero-home__main { min-height: 0; padding: 150px 0 90px; }
  .hero--home .hero__bg,
  .hero--home::before { height: 100%; }
  .hero-home__statement { padding: 72px 0 96px; }
  .home-who { padding-top: 80px; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom p:last-child { text-align: left; }
  .stat__value { font-size: 72px; line-height: 70px; }
  .partners__logos { gap: 20px 24px; }
  .partner { width: 140px; height: 84px; }
  .site-footer { padding-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
