/* =========================================================
   Bangladesh Investment Gateway — Design System
   Concept: the delta. Bangladesh is built where three great
   rivers braid into one outflow. BIG is built the same way —
   many pathways of interest, converging into one gateway.
   That confluence is the visual signature of this system.
   ========================================================= */

:root {
  /* ---- Color: named tokens ---- */
  --ink:        #0B2430;   /* deep river-dusk, primary dark */
  --ink-2:      #123240;   /* lighter panel dark */
  --paper:      #F6F3EC;   /* institutional paper */
  --paper-2:    #EDE8DC;   /* recessed paper panel */
  --delta-teal: #1B6E6F;   /* primary accent — water */
  --delta-teal-dark: #114F50;
  --harvest:    #C1932B;   /* secondary accent — grain / sunrise */
  --harvest-dark: #96711E;
  --graphite:   #2A2E30;   /* body text on paper */
  --graphite-60:#5B6265;
  --line:       #D9D2C0;   /* hairline on paper */
  --line-dark:  rgba(246,243,236,0.16); /* hairline on ink */

  /* ---- Type ---- */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --radius: 2px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--delta-teal-dark);
}
.eyebrow.on-dark { color: #8FCFC9; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn-primary {
  background: var(--harvest);
  color: var(--ink);
  border-color: var(--harvest);
}
.btn-primary:hover { background: var(--harvest-dark); border-color: var(--harvest-dark); transform: translateY(-1px); }

.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-dark);
}
.btn-ghost-dark:hover { border-color: var(--paper); }

.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-light:hover { border-color: var(--ink); }

.btn-arrow { transition: transform 160ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 36, 48, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}
.brand-mark { width: 26px; height: 26px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
}
.brand-word b { color: var(--harvest); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(246,243,236,0.8);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 140ms ease;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.active { color: var(--paper); }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost-dark { display: none; }
}

/* ---- Hero ---- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin-top: 14px;
  color: var(--paper);
}
.hero h1 em {
  font-style: normal;
  color: var(--harvest);
}
.hero p.lede {
  font-size: 18px;
  color: rgba(246,243,236,0.78);
  max-width: 46ch;
  margin-top: 20px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.delta-graphic { width: 100%; height: auto; }
.delta-graphic path { stroke: var(--delta-teal); }
.delta-graphic .river-main { stroke: var(--harvest); }
.delta-graphic circle { fill: var(--harvest); }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-panel { background: var(--paper-2); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.section-head p { color: var(--graphite-60); max-width: 52ch; margin-top: 10px; }
.section-dark .section-head p { color: rgba(246,243,236,0.68); }

/* ---- Pillars grid ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--paper);
  padding: 34px 30px;
}
.pillar .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--delta-teal-dark);
  letter-spacing: 0.08em;
}
.pillar h3 { font-size: 20px; margin-top: 14px; }
.pillar p { color: var(--graphite-60); margin-top: 10px; font-size: 14.5px; }

/* ---- Opportunity cards ---- */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .opp-grid { grid-template-columns: 1fr; } }
.opp-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.opp-card:hover { border-color: var(--delta-teal); transform: translateY(-2px); }
.opp-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite-60);
}
.opp-card h3 { font-size: 19px; }
.opp-card p { font-size: 14.5px; color: var(--graphite-60); flex-grow: 1; }
.readiness {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--delta-teal-dark);
}
.readiness .dots { display: flex; gap: 4px; }
.readiness .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.readiness .dot.filled { background: var(--delta-teal); }

/* ---- Insight list ---- */
.insight-row {
  display: flex;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  align-items: baseline;
  flex-wrap: wrap;
}
.section-dark .insight-row { border-color: var(--line-dark); }
.insight-row:last-child { border-bottom: 1px solid var(--line-dark); }
.insight-cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--harvest);
  width: 170px;
  flex-shrink: 0;
}
.insight-row h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; flex-grow: 1; color: var(--paper); }
.insight-row a.read {
  font-size: 13.5px;
  color: rgba(246,243,236,0.55);
  text-decoration: none;
  white-space: nowrap;
}
.insight-row a.read:hover { color: var(--paper); }

/* ---- Journeys / entry points ---- */
.journeys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .journeys { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .journeys { grid-template-columns: 1fr; } }
.journey-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--graphite);
  display: block;
  transition: border-color 160ms ease, background 160ms ease;
}
.journey-card:hover { border-color: var(--delta-teal); background: var(--paper-2); }
.journey-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--graphite-60); }
.journey-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 15.5px; margin-top: 10px; line-height: 1.35; }

/* ---- Stats strip ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 30px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--font-display); font-size: 34px; color: var(--paper); }
.stat .l { font-size: 13px; color: rgba(246,243,236,0.6); margin-top: 6px; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--harvest);
  color: var(--ink);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 20ch; margin: 0 auto; }
.cta-band .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); margin-top: 26px; }
.cta-band .btn-primary:hover { background: var(--ink-2); }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(246,243,236,0.65);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.4);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { text-decoration: none; color: rgba(246,243,236,0.72); font-size: 14px; }
.footer-grid a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(246,243,236,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--harvest);
  outline-offset: 2px;
}
