/* ════════════════════════════════
   VARIABLES & RESET
════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Barlow+Condensed:wght@600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap');
:root {
  --navy:     #1F3864;
  --blue:     #000071;
  --light:    #D6E4F0;
  --white:    #FFFFFF;
  --offwhite: #F4F6F8;
  --text:     #1a1714;
  --muted:    #6b7068;
  --accent:   #C8A84B;
  --dark:     #1a1714;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* text-align: justify; */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.15;
}

p { line-height: 1.8; }

a {
  text-decoration: none;
  color: inherit;
}

img { max-width: 100%; }

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: background 0.3s, box-shadow 0.3s;
  background: var(--dark);
}

nav.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Moves the gap rule here so it applies between the img and span */
}

.nav-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-logo span {
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  /* align-items: center; <-- Remove this, it only works on flex containers */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* ── MEDIA DROPDOWN ── */
.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.nav-links .has-dropdown > a::after {
  content: '▾';
  font-size: 0.75em;
  transition: transform 0.2s;
}

.nav-links .has-dropdown.open > a::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border-top: 2px solid var(--accent);
  list-style: none;
  min-width: 160px;
  padding: 0.5rem 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.has-dropdown.open .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 0.55rem 1.2rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border-bottom: none;
}

/* ── MOBILE ACCORDION ── */
.mobile-acc-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0;
  width: 100%;
  text-align: left;
  transition: color 0.2s;
}

.mobile-acc-toggle:hover { color: var(--white); }

.mobile-acc-toggle .acc-arrow {
  font-size: 0.75em;
  transition: transform 0.2s;
  margin-left: auto;
}

.mobile-acc-toggle.open .acc-arrow {
  transform: rotate(180deg);
}

.mobile-acc-content {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0 0.25rem 1rem;
}

.mobile-acc-content.open { display: flex; }

.mobile-acc-content a {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.06em;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--dark);
  padding: 1.5rem 5vw 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.mobile-menu a:hover { 
  color: var(--white);
  transform: scale(1.03);
 }
.mobile-menu.open { display: flex; }


/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}
.btn-primary:hover {
  background: #dbb94f;
  transform: translateY(-2px);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--navy);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}



/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  min-height: 100vh;
  background-image: url('../images/hero-2.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5vw;
}

#hero::before {

  content: '';

  position: absolute;

  inset: 0;

  background: linear-gradient(

  to right,

  rgba(13, 31, 60, 0.92) 0%,

  rgba(13, 31, 60, 0.75) 50%,

  rgba(13, 31, 60, 0.3) 100%

);
}

.hero-content {
  position: relative;
  z-index: 2; 
}
.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  background: rgba(200, 168, 75, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: var(--dark);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);

}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* ── MOBILE RESPONSIVE FIXES for Hero ── */
@media (max-width: 768px) {
  #hero {
    flex-direction: column;
    justify-content: flex-start;
    padding: 120px 20px 0 20px; /* Gives room below fixed top header */
    height: auto;
    min-height: 100vh;
  }

  #hero::before {
    /* Changes linear-gradient to top-to-bottom for mobile reading layout */
    background: linear-gradient(
      to bottom,
      rgba(13, 31, 60, 0.95) 0%,
      rgba(13, 31, 60, 0.85) 60%,
      rgba(13, 31, 60, 0.95) 100%
    );
  }

  .hero-content {
    margin-bottom: 40px; /* Pushes stats safely down beneath buttons */
  }

  .hero-btns {
    flex-direction: column; /* Stacks buttons on narrow screens */
    gap: 0.75rem;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    position: relative; /* Removes absolute positioning so it won't overlap */
    margin: 0 -20px; /* Extends black background out to screen edges */
    width: calc(100% + 40px);
    display: grid;
    grid-template-columns: 1fr 1fr; /* Splitting into a clean 2x2 grid */
    background: rgba(13, 31, 60, 0.98); 
  }

  .hero-stat {
    padding: 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* Fixes borders for the 2x2 grid structure */
  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .hero-stat:nth-child(even) {
    border-right: none;
  }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-bottom: none;
  }
}



/* ════════════════════════════════
   SECTIONS — SHARED
════════════════════════════════ */
section {
  padding: 6rem 5vw;
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
  font-weight: 300;
}

/* ════════════════════════════════
   WHO WE ARE
════════════════════════════════ */
#who-we-are {
  background: var(--offwhite);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}

.who-points {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.who-point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.who-point-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.6rem;
  flex-shrink: 0;
}

.who-point p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.who-visual {
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: 4px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.who-visual img {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.who-visual blockquote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  font-style: italic;
}

.who-visual cite {
  font-size: 0.8rem;
  color: rgba(214,228,240,0.6);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════
   CRISIS STATS
════════════════════════════════ */
#crisis-glance {
  background: var(--dark);
}

#crisis-glance .section-title { color: var(--white); }
#crisis-glance .section-body  { color: rgba(214,228,240,0.7); }

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

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  transition: background 0.2s;
}

.stat-card:hover {
  background: rgba(255,255,255,0.08);
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-lbl {
  font-size: 0.875rem;
  color: rgba(214,228,240,0.7);
  line-height: 1.6;
  font-weight: 300;
}

/* ════════════════════════════════
   OUR WORK
════════════════════════════════ */
#our-work {
  background: var(--white);
}

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

.work-card {
  border: 1px solid var(--light);
  border-top: 3px solid var(--blue);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  transition: all 0.25s;

  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-bottom: 1rem;

}

.work-card img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-bottom: 1rem;

}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,56,100,0.1);
  border-top-color: var(--accent);
}

.work-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.work-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.work-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ════════════════════════════════
   RECENT BRIEFERS
════════════════════════════════ */
#recent-briefers {
  background: var(--offwhite);
}

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

.briefer-card {
  height: 100%;
  background: var(--white);
  border-radius: 2px;
  padding: 2rem;
  border-bottom: 3px solid var(--blue);
  transition: all 0.25s;
}

.briefer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,56,100,0.08);
  border-bottom-color: var(--accent);
}

.briefer-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.briefer-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.briefer-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}


/* ════════════════════════════════
   FOOTER CTA
════════════════════════════════ */
#footer-cta {
  background: var(--blue);
  text-align: center;
  padding: 5rem 5vw;
}

#footer-cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#footer-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

#footer-cta .hero-btns {
  justify-content: center;
  margin-top: 2rem;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: var(--dark);
  padding: 4rem 5vw 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  display: block;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-col .footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-col .footer-logo span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom span { color: var(--accent); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .work-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }

  section { padding: 4rem 5vw; }

  .who-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .briefers-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }

  .hero-stats {
    flex-wrap: wrap;
  }
  .hero-stat {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .work-grid  { grid-template-columns: 1fr; }
  .hero-btns  { flex-direction: column; }
}

/* ════════════════════════════════
   BRIEFERS PAGE
════════════════════════════════ */
#briefers-hero {
  background: var(--dark);
  padding: 8rem 5vw 4rem;
  text-align: center;
}

#briefers-hero .section-tag { color: var(--accent); }

#briefers-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#briefers-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

/* filter bar */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* briefers archive grid */
#briefers-archive {
  background: var(--offwhite);
  padding: 5rem 5vw;
}

.briefers-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.briefer-archive-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.25s;
  border: 1px solid var(--light);
}

.briefer-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,56,100,0.1);
}

.briefer-archive-card.hidden {
  display: none;
}

.briefer-cover {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.briefer-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.briefer-card-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.briefer-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
}

.briefer-card-body p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* responsive */
@media (max-width: 1024px) {
  .briefers-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .briefers-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .briefers-archive-grid { grid-template-columns: 1fr; }
}