/* ============================================================
   LEADERS FOR UNCERTAINTY — STYLESHEET
   Design: Editorial Calm — warm, grounded, authoritative
   ============================================================ */

/* --- TOKENS --- */
:root {
  --color-scheme: light;
  --cream:        #F5F0E8;
  --cream-dark:   #EDE7DB;
  --charcoal:     #1A2228;
  --charcoal-mid: #243038;
  --warm-gray:    #6B6560;
  --light-gray:   #D9D3C9;
  --rust:         #B85C38;
  --rust-dark:    #9E4D2D;
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  2rem;
  --space-xl:  3.5rem;
  --space-2xl: 7rem;

  --max-width: 1200px;
  --nav-h:     72px;
  --ease:      0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-fn:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* --- CONTAINER --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  border-radius: 2px;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary   { background: var(--rust);  color: var(--white); border: 1px solid var(--rust); }
.btn--primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.btn--ghost     { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--outline   { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--cream); }
.btn--white     { background: var(--white); color: var(--rust); border: 1px solid var(--white); }
.btn--white:hover { background: var(--cream); border-color: var(--cream); }

/* --- SECTION LABELS / TITLES --- */
.s-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.25rem;
}
.s-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.s-intro {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  max-width: 600px;
  line-height: 1.8;
}
.s-header { margin-bottom: var(--space-lg); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--ease), box-shadow var(--ease);
}
.nav.scrolled {
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--light-gray);
}
.nav.scrolled .nav__logo,
.nav.scrolled .nav__links a { color: var(--charcoal); }
.nav.scrolled .nav__cta-btn { background: var(--rust); color: var(--white); border-color: var(--rust); }

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--ease);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease);
  letter-spacing: 0.01em;
}
.nav__links a:hover { color: var(--white); }
.nav__cta-btn {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  color: rgba(255,255,255,0.85);
  transition: all var(--ease);
}
.nav__cta-btn:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

/* mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.8);
  transition: all var(--ease);
}
.nav.scrolled .nav__toggle span { background: var(--charcoal); }

/* mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--cream);
  padding: var(--space-md);
  border-top: 1px solid var(--light-gray);
  box-shadow: 0 8px 24px rgba(26,34,40,0.1);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--light-gray);
}
.nav__mobile a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Deep atmospheric background */
.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 75% 40%, rgba(184,92,56,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(26,34,40,0.9) 0%, transparent 55%),
    linear-gradient(155deg, #1A2228 0%, #243038 45%, #1C2B26 100%);
}
/* Subtle noise texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-xl)) var(--space-md) var(--space-xl);
}

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-fn) 0.2s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 2.5rem;
  max-width: 780px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-fn) 0.4s forwards;
}
.hero__headline em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-fn) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-fn) 0.8s forwards;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollDrop 2.5s ease-in-out infinite 1.6s;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   THE REALITY
   ============================================================ */
.reality {
  background: var(--charcoal);
  padding: var(--space-xl) 0;
}
.reality__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.reality__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  position: relative;
  padding-top: 2rem;
}
.reality__quote::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--rust);
}

/* ============================================================
   OUR APPROACH (homepage)
   ============================================================ */
.approach-home {
  padding: var(--space-xl) 0;
  background: var(--cream);
}
.approach-home__inner {
  max-width: 760px;
}
.approach-home__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 2rem;
}
.approach-home__body,
.approach-home__closing {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}
.approach-home__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rust);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 2px;
  transition: opacity var(--ease);
}
.approach-home__link:hover { opacity: 0.65; }

/* ============================================================
   WHO WE WORK WITH (SECTORS)
   ============================================================ */
.sectors {
  padding: var(--space-xl) 0;
  background: var(--cream-dark);
}
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
}

/* Featured humanitarian card — spans full width */
.sector-card--featured {
  grid-column: 1 / -1;
  background: var(--charcoal-mid);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 3rem;
  align-items: center;
}
.sector-card--featured .sc__tag  { color: var(--rust); }
.sector-card--featured h3         { color: var(--white); }
.sector-card--featured p          { color: rgba(255,255,255,0.6); }
.sector-card--featured .sc__link  { color: var(--rust); }

.sector-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background var(--ease);
}
.sector-card:hover { background: var(--white); }

.sc__tag {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.875rem;
}
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 0.875rem;
}
.sector-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.sc__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rust);
  letter-spacing: 0.02em;
  transition: opacity var(--ease);
}
.sc__link:hover { opacity: 0.65; }

/* ============================================================
   WHAT WE BRING (PILLARS)
   ============================================================ */
.pillars {
  padding: var(--space-xl) 0;
  background: var(--charcoal);
}
.pillars .s-title  { color: var(--white); }
.pillars .s-intro  { color: rgba(255,255,255,0.6); }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pillar {
  padding: 3rem 3rem 3rem 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--ease);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child  { border-right: none; padding-right: 0; }
.pillar:nth-child(2) { padding: 3rem; }

.pillar:hover { background: rgba(255,255,255,0.02); }

.pillar__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.pillar__text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.pillar__text em {
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

/* ============================================================
   OUR SERVICES
   ============================================================ */
.services {
  padding: var(--space-xl) 0;
  background: var(--cream);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
  margin-bottom: var(--space-lg);
}
.service-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  transition: background var(--ease);
}
.service-card:hover { background: var(--white); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.services__cta { text-align: center; }

/* ============================================================
   WHO WE ARE (COLLECTIVE)
   ============================================================ */
.collective {
  padding: var(--space-xl) 0;
  background: var(--charcoal-mid);
}
.collective__inner {
  max-width: 720px;
}
.collective__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.75rem;
}
.collective__text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
}
.collective__link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: border-color var(--ease), gap var(--ease);
}
.collective__link:hover { border-color: var(--white); gap: 1rem; }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.cta-section {
  padding: var(--space-xl) 0;
  background: var(--rust);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section__inner {
  position: relative;
  text-align: center;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.cta-section__sub {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 2.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-md);
}
.footer__brand-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.875rem;
}
.footer__brand-line {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
.footer__col-title {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer__col ul li { margin-bottom: 0.625rem; }
.footer__col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}
.footer__policy a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--ease);
  margin-left: 1.5rem;
}
.footer__policy a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   SCROLL-TRIGGERED FADE-UP
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  :root { --space-xl: 2.75rem; }
  .sector-card--featured  { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pillars__grid          { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2)    { border-right: none; }
  .pillar:nth-child(3)    { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 3rem; grid-column: 1 / -1; }
  .services__grid         { grid-template-columns: repeat(2, 1fr); }
  .footer__top            { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --space-xl: 2.25rem; --space-lg: 1.5rem; }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__headline { font-size: clamp(2.75rem, 12vw, 4rem); }

  .sectors__grid          { grid-template-columns: 1fr; }
  .sector-card--featured  { grid-template-columns: 1fr; gap: 1.25rem; }
  .pillars__grid          { grid-template-columns: 1fr; }
  .pillar                 { padding: 2.5rem 0 !important; border-right: none !important; border-top: 1px solid rgba(255,255,255,0.08); }
  .pillar:first-child     { border-top: none; }
  .services__grid         { grid-template-columns: 1fr; }
  .footer__top            { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero__actions          { flex-direction: column; align-items: flex-start; }
}
