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

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

:root {
  --bg:        #fafaf8;
  --bg-soft:   #f2efe9;
  --cream:     #faf8f3;
  --navy:      #2635C4;
  --navy-dark: #1C28A8;
  --text:      #111118;
  --muted:     #626878;
  --accent:    #E05928;
  --border:    #dcd8d1;
  --display:   'Syne', system-ui, sans-serif;
  --sans:      'Inter', system-ui, -apple-system, sans-serif;
  --max-w:     1000px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Container ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .8125rem 2rem;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250,248,243,.4);
}
.btn-ghost:hover {
  border-color: rgba(250,248,243,.9);
  background: rgba(250,248,243,.06);
}

/* ── Navigation ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.4;
}
.nav-logo-full { display: inline; }
.nav-logo-abbr { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  justify-content: center;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: .375rem .625rem;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--navy); }

.nav-right {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
}
.lang-btn {
  display: inline-block;
  padding: .25rem .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.lang-btn:hover   { color: var(--navy); }
.lang-btn.active  { color: var(--navy); }
.lang-sep {
  font-size: .75rem;
  color: var(--border);
  user-select: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: .75rem;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.25px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(27,58,92,.1);
  flex-direction: column;
  padding: 0 1.5rem 1rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  display: block;
  padding: .875rem 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.nav-mobile a:hover { color: var(--navy); }
.nav-mobile a:last-child { border-bottom: none; }

/* ── Hero ──────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(5rem, 14vw, 9rem) 1.5rem clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.25rem;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--cream);
  margin-bottom: 2.5rem;
}
.hero-bg-mark {
  position: absolute;
  right: -4vw;
  bottom: -8%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 48vw;
  line-height: 1;
  color: var(--cream);
  opacity: .04;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.06em;
}
.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(250,248,243,.72);
  max-width: 460px;
  margin-bottom: 3rem;
}

/* ── Sections ──────────────────────────────────── */
section[id] { scroll-margin-top: 68px; }

.section {
  padding: clamp(4.5rem, 10vw, 7rem) 1.5rem;
}
.section-soft {
  background: var(--bg-soft);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.section-lead {
  max-width: 580px;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

/* ── Mission manifesto ─────────────────────────── */
.manifesto {
  border-top: 1px solid var(--border);
  margin-top: .5rem;
}
.manifesto-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.manifesto-num {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: .35rem;
  display: block;
}
.manifesto-content h3 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.manifesto-content p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ── About (full-bleed split) ──────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 38% 62%;
}
.about-split-left {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
.about-split-left .section-title { color: var(--cream); margin-bottom: 2.5rem; }
.about-split-right {
  background: var(--bg-soft);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
}
.about-text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.125rem;
}
.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.stat-value {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--cream);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .8125rem;
  color: rgba(250,248,243,.55);
  line-height: 1.4;
}

/* ── Team ──────────────────────────────────────── */
.team-list {
  list-style: none;
  border-top: 1px solid var(--border);
  margin-top: .5rem;
}
.team-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--border);
  gap: 2rem;
}
.team-name {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
}
.team-role {
  font-size: .875rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Statute ───────────────────────────────────── */
.statute-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
}
.statute-mark {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(8rem, 24vw, 20rem);
  line-height: 1;
  color: var(--navy);
  opacity: .055;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.05em;
}
.statute-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
}
.statute-text .section-title { margin-bottom: 1.25rem; }
.statute-text p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 520px;
}

/* ── Projects ──────────────────────────────────── */
.projects-list {
  border-top: 1px solid var(--border);
  margin-top: .5rem;
}
.project {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.project-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--accent);
  display: block;
  padding-top: .1rem;
}
.project-body h3 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin-bottom: .75rem;
}
.project-body p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.link-arrow {
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.link-arrow:hover {
  color: var(--accent);
  border-color: transparent;
}

/* ── Contact ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: .5rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.0625rem;
  margin-bottom: 1.125rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail svg { color: var(--navy); flex-shrink: 0; }
.contact-detail a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .15s;
}
.contact-detail a:hover { color: var(--accent); }
.contact-cta-text {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ── Footer ────────────────────────────────────── */
.footer-endmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5.5vw, 4.5rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: rgba(250,248,243,.065);
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  word-break: break-word;
  pointer-events: none;
  user-select: none;
}
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem 1.5rem;
  border-top: 2px solid var(--accent);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(250,248,243,.5);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1rem;
}
.footer-nav a {
  font-size: .8125rem;
  color: rgba(250,248,243,.55);
  text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-copy {
  font-size: .75rem;
  color: rgba(250,248,243,.35);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-toggle   { display: flex; }
  .nav-logo-full { display: none; }
  .nav-logo-abbr { display: inline; }

  /* Manifesto */
  .manifesto-item { grid-template-columns: 2.5rem 1fr; gap: 1.5rem; }

  /* About split */
  .about-split { grid-template-columns: 1fr; }
  .about-split-left { flex-direction: row; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
  .about-split-left .section-title { width: 100%; margin-bottom: 0; }
  .about-stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
  .stat-value { font-size: 2.5rem; }

  /* Statute */
  .statute-mark { font-size: clamp(6rem, 30vw, 12rem); }
  .statute-wrap { flex-direction: column; align-items: flex-start; gap: 2rem; }

  /* Projects */
  .project { grid-template-columns: 3.5rem 1fr; gap: 1.25rem; }
  .project-num { font-size: 2rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .project { grid-template-columns: 2.75rem 1fr; gap: 1rem; }
  .project-num { font-size: 1.625rem; }
}
