:root {
  --ink: #16213f;
  --blue: #244ba9;
  --blue-2: #3479c8;
  --violet: #51429a;
  --sky: #dcecff;
  --paper: #ffffff;
  --mist: #f5f7fc;
  --line: rgba(31, 57, 112, 0.15);
  --muted: #5e6982;
  --max: 1180px;
  --radius: 28px;
  --shadow: 0 22px 70px rgba(21, 39, 82, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.85rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 1.55vw, 1.45rem); }
p { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.6; }
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 1.03rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 36px rgba(30,48,91,.07); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--violet));
  box-shadow: 0 10px 24px rgba(36,75,169,.22);
  font-size: .85rem;
  letter-spacing: -.06em;
}
.brand-name { display: grid; line-height: 1.05; }
.brand-name small { color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:not(.button):hover { color: var(--blue); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(36,75,169,.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #193e9b; box-shadow: 0 16px 34px rgba(36,75,169,.27); }
.button.secondary { color: var(--blue); background: white; border: 1px solid var(--line); box-shadow: none; }
.button.secondary:hover { background: var(--mist); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s; }

.hero {
  min-height: 920px;
  padding: 180px 0 360px;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.hero-art { position: absolute; inset: auto 0 0; width: 100%; height: auto; z-index: 0; pointer-events: none; }
.hero-copy { max-width: 860px; position: relative; z-index: 1; }
.hero h1 { color: var(--blue); margin-bottom: 28px; max-width: 880px; }
.hero .lead { max-width: 760px; color: #4e5871; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; color: #68738c; font-size: .84rem; }
.hero-note span { width: 7px; height: 7px; border-radius: 50%; background: #2ca574; box-shadow: 0 0 0 6px rgba(44,165,116,.12); }

.services { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid rgba(36,75,169,.1);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 40px rgba(29,46,90,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-no { color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .15em; }
.service-card h3 { margin: 42px 0 16px; }
.service-card p { margin-bottom: 0; font-size: .98rem; }

.numbers { background: linear-gradient(135deg, #1e3e91, #51429a); color: white; overflow: hidden; }
.numbers::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; right: -180px; top: -260px; box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 150px rgba(255,255,255,.025); }
.number-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; position: relative; z-index: 1; }
.stat { position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42%;
  right: -19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 5px rgba(255,255,255,.07);
}
.stat strong { display: block; font-size: clamp(3.4rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -.06em; }
.stat span { display: block; margin-top: 12px; color: rgba(255,255,255,.75); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-visual { position: relative; min-height: 560px; border-radius: 40px; overflow: hidden; background: #fbfbff; border: 1px solid var(--line); }
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: 26px; bottom: 26px; max-width: 260px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.about-badge strong { display: block; color: var(--blue); font-size: 1.15rem; }
.about-badge span { color: var(--muted); font-size: .9rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.value { padding: 18px; border-radius: 18px; background: var(--mist); }
.value strong { display: block; color: var(--blue); margin-bottom: 4px; }
.value span { color: var(--muted); font-size: .9rem; }

.projects { background: #111b38; color: white; overflow: hidden; }
.projects .eyebrow { color: #83b7ff; }
.projects .section-head p { color: rgba(255,255,255,.68); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card {
  min-height: 420px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.project-card::before { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; right: -100px; bottom: -120px; background: var(--accent, #2859c7); filter: blur(4px); opacity: .65; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.35); }
.project-tag { align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-card h3 { margin: auto 0 18px; max-width: 470px; font-size: clamp(1.75rem, 3vw, 2.65rem); position: relative; }
.project-card p { max-width: 500px; color: rgba(255,255,255,.7); position: relative; }
.project-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }

.team-preview { padding-bottom: 0; }
.team-photo { position: relative; min-height: 620px; border-radius: 44px 44px 0 0; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.team-copy { position: absolute; left: clamp(24px, 6vw, 70px); bottom: clamp(24px, 6vw, 70px); width: min(500px, calc(100% - 48px)); padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: rgba(255,255,255,.93); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.team-copy h2 { margin-bottom: 16px; }

.commitment { background: var(--sky); }
.commitment-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.commitment-panel { padding: 38px; border-radius: 28px; background: white; border: 1px solid rgba(36,75,169,.12); }
.commitment-panel strong { display: block; color: var(--blue); font-size: 4rem; line-height: 1; letter-spacing: -.06em; }
.commitment-panel span { color: var(--muted); }

.contact { background: #f7f8fc; }
.contact-card { padding: clamp(36px, 7vw, 84px); border-radius: 40px; color: white; background: linear-gradient(135deg, #254ca9, #51429a); box-shadow: var(--shadow); }
.contact-card h2 { max-width: 750px; margin-bottom: 46px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-item { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.contact-item small { display: block; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .14em; font-size: .67rem; font-weight: 800; }
.contact-item a, .contact-item span { color: white; text-decoration: none; font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-actions .button { background: white; color: var(--blue); }
.contact-actions .button.secondary { background: transparent; color: white; border-color: rgba(255,255,255,.35); }

.site-footer { padding: 30px 0 42px; background: #101936; color: white; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer p { margin: 0; color: rgba(255,255,255,.58); font-size: .86rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .86rem; }

/* Interior pages */
.page-hero { padding: 170px 0 100px; min-height: 630px; display: flex; align-items: center; position: relative; overflow: hidden; background: #f5f7fc; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; background: url("assets/hero-landscape.png") center bottom / cover no-repeat; }
.page-hero-copy { position: relative; z-index: 1; max-width: 920px; }
.page-hero h1 { color: var(--blue); margin: 0 0 24px; }
.page-hero .lead { max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; font-size: .82rem; font-weight: 750; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--blue); }
.content-block { padding: 70px 0; }
.content-block + .content-block { border-top: 1px solid var(--line); }
.content-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.content-grid h2 { position: sticky; top: 120px; }
.prose h3 { margin-top: 42px; color: var(--blue); }
.prose p, .prose li { color: var(--muted); }
.prose li + li { margin-top: 10px; }
.feature-list { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.feature-list li { padding: 20px 22px 20px 56px; border-radius: 18px; background: var(--mist); position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 20px; top: 18px; color: var(--blue); font-weight: 900; }
.resource-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 30px; }
.resource-card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; background: white; }
.resource-card strong { display: block; color: var(--blue); }
.resource-card span { display: block; color: var(--muted); font-size: .9rem; margin-top: 8px; }
.steps { counter-reset: step; display: grid; gap: 15px; margin-top: 26px; }
.step { counter-increment: step; padding: 26px 26px 26px 80px; border-radius: 22px; background: var(--mist); position: relative; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 24px; top: 25px; color: var(--blue); font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 1.2rem; }
.step p { margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.person { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: white; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.person-copy { padding: 26px; }
.person-copy h3 { margin-bottom: 7px; }
.person-role { color: var(--blue); font-size: .85rem; font-weight: 800; min-height: 44px; }
.person-copy p { font-size: .91rem; }
.person-copy a { color: var(--blue); font-weight: 750; text-decoration: none; }
.quote { padding: 60px; border-radius: 34px; color: white; background: linear-gradient(135deg, #2349a4, #51429a); text-align: center; }
.quote blockquote { margin: 0 auto 20px; max-width: 850px; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.quote cite { color: rgba(255,255,255,.7); font-style: normal; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .menu-button { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; padding: 120px 28px 40px; flex-direction: column; align-items: stretch; background: white; transform: translateX(100%); transition: transform .25s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.3rem; padding: 8px; }
  .nav-links .button { margin-top: 14px; }
  .hero { min-height: 820px; padding-top: 150px; padding-bottom: 270px; }
  .service-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .number-grid { grid-template-columns: 1fr 1fr; gap: 54px 20px; }
  .stat::after { display: none; }
  .about-grid, .commitment-grid, .content-grid { grid-template-columns: 1fr; }
  .content-grid h2 { position: static; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-photo { min-height: 720px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 70px; }
  .brand-name { font-size: .92rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: 760px; padding: 130px 0 230px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.2rem); }
  .hero-art { width: 155%; max-width: none; left: -20%; }
  .section { padding: 78px 0; }
  .service-grid, .team-grid, .resource-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .values { grid-template-columns: 1fr; }
  .about-visual { min-height: 430px; }
  .project-card { min-height: 350px; padding: 28px; }
  .team-photo { min-height: 680px; border-radius: 28px 28px 0 0; }
  .team-photo img { object-position: 52% center; }
  .team-copy { padding: 25px; }
  .commitment-panel strong { font-size: 3rem; }
  .contact-card { border-radius: 26px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 135px 0 110px; min-height: 560px; }
  .page-hero h1 { font-size: 2.7rem; }
  .content-block { padding: 58px 0; }
  .quote { padding: 38px 24px; }
}
