:root {
  --navy-950: #071729;
  --navy-900: #0d223d;
  --navy-800: #173555;
  --blue-600: #0b72b5;
  --blue-400: #2c9fce;
  --gold-500: #c7a447;
  --gold-300: #e0c773;
  --ink: #10223a;
  --muted: #607084;
  --line: #dce3ea;
  --surface: #f4f7fa;
  --white: #ffffff;
  --container: 1180px;
  --header-height: 84px;
  --shadow: 0 24px 70px rgba(10, 32, 58, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) - 1px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: var(--gold-300); color: var(--navy-950); transform: translateY(-150%); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(13, 34, 61, 0.08);
  backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; width: auto; height: 58px; }
.brand img { width: 43px; height: 43px; object-fit: cover; }
.brand span { color: var(--navy-900); font-size: 1.28rem; font-weight: 480; letter-spacing: 0.18em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; font-size: 0.88rem; font-weight: 650; color: #30445b; letter-spacing: 0.015em; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-cta { padding: 10px 18px; color: var(--white) !important; background: var(--navy-900); border-radius: 3px; transition: background 180ms ease, transform 180ms ease; }
.nav-cta:hover { background: var(--blue-600); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--navy-900); transition: transform 180ms ease, opacity 180ms ease; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 76px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(244, 247, 250, 0.55), rgba(255, 255, 255, 0) 44%),
    var(--white);
}
.hero::before { content: ""; position: absolute; width: 1px; top: var(--header-height); bottom: 0; left: calc(50% - 590px); background: rgba(13, 34, 61, 0.06); }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -260px; top: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 159, 206, 0.13), rgba(44, 159, 206, 0) 68%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.eyebrow { margin: 0 0 25px; color: var(--blue-600); font-size: 0.78rem; line-height: 1.2; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; vertical-align: middle; width: 34px; height: 2px; margin-right: 12px; background: var(--gold-500); }
.eyebrow.light { color: var(--gold-300); }
.hero h1 { max-width: 700px; margin: 0; color: var(--navy-900); font-size: clamp(3rem, 5.5vw, 5.55rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 720; }
.hero h1 em { color: var(--blue-600); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lead { max-width: 630px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border: 1px solid transparent; border-radius: 3px; font-size: 0.93rem; font-weight: 750; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { gap: 18px; color: var(--white); background: var(--navy-900); box-shadow: 0 12px 28px rgba(13, 34, 61, 0.18); }
.button-primary:hover { background: var(--blue-600); box-shadow: 0 16px 34px rgba(11, 114, 181, 0.22); }
.button-ghost { color: var(--navy-900); border-color: var(--line); background: var(--white); }
.button-ghost:hover { border-color: var(--gold-500); }
.hero-principles { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: #6e7c8d; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-principles span { display: flex; align-items: center; gap: 10px; }
.hero-principles span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.hero-visual { position: relative; min-height: 585px; }
.image-frame { position: absolute; inset: 0 34px 60px 0; overflow: hidden; border-radius: 3px 3px 96px 3px; box-shadow: var(--shadow); }
.image-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 23, 41, 0.02), rgba(7, 23, 41, 0.2)); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.impact-card { position: absolute; z-index: 2; right: 0; bottom: 0; width: 250px; padding: 25px 28px; color: var(--white); background: var(--navy-900); box-shadow: 0 18px 45px rgba(13, 34, 61, 0.24); }
.impact-card strong { display: block; color: var(--gold-300); font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; font-weight: 500; }
.impact-card span { display: block; margin-top: 4px; font-size: 0.9rem; line-height: 1.45; }
.ascending-line { position: absolute; z-index: 3; width: 145px; height: 145px; top: -26px; right: -12px; border-top: 3px solid var(--gold-500); border-right: 3px solid var(--gold-500); clip-path: polygon(38% 0, 100% 0, 100% 62%, 94% 62%, 94% 10%, 38% 10%); }
.scroll-cue { position: absolute; bottom: 22px; left: max(24px, calc(50% - 590px)); display: inline-flex; gap: 14px; align-items: center; color: #708094; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.scroll-cue i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }

.section { padding: clamp(90px, 10vw, 145px) 0; }
.section-heading h2, .team h2, .contact h2 { margin: 0; color: var(--navy-900); font-size: clamp(2.35rem, 4.2vw, 4.4rem); line-height: 1.08; letter-spacing: -0.04em; }
.split-heading { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(50px, 9vw, 130px); align-items: end; }
.heading-copy { color: var(--muted); font-size: 1.08rem; }
.heading-copy p { margin: 0 0 18px; }
.pillars { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; margin-top: 75px; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-label { margin: 0; color: var(--blue-600); font-size: 0.77rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.pillars ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px 40px; margin: 0; padding: 0; list-style: none; }
.pillars li { display: flex; gap: 16px; align-items: center; font-size: 0.98rem; font-weight: 680; }
.pillars b { color: var(--gold-500); font-family: Georgia, serif; font-size: 0.85rem; font-weight: 600; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); }
.purpose-card { min-height: 330px; padding: 36px; background: var(--white); transition: transform 200ms ease, box-shadow 200ms ease; }
.purpose-card:hover { position: relative; z-index: 2; transform: translateY(-6px); box-shadow: var(--shadow); }
.purpose-card-featured { background: var(--surface); }
.card-index { display: block; color: var(--gold-500); font-family: Georgia, serif; font-size: 0.88rem; }
.purpose-card h3 { max-width: 280px; margin: 72px 0 16px; color: var(--navy-900); font-size: 1.4rem; line-height: 1.25; }
.purpose-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.services { position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.services::before { content: "A"; position: absolute; right: -40px; top: -230px; color: rgba(255, 255, 255, 0.025); font-family: Georgia, serif; font-size: 46rem; line-height: 1; }
.services-heading { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; align-items: end; }
.services-heading h2 { color: var(--white); }
.services-heading > p { margin: 0 0 8px; color: #b9c8d8; font-size: 1.05rem; }
.services-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.service-card { display: grid; grid-template-columns: 48px 1fr; gap: 4px 20px; padding: 30px 0 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.service-card > span { grid-row: 1 / 3; color: var(--gold-300); font-family: Georgia, serif; font-size: 0.9rem; }
.service-card h3 { margin: 0; color: var(--white); font-size: 1.2rem; line-height: 1.3; }
.service-card p { margin: 9px 0 0; color: #9fb1c4; font-size: 0.94rem; line-height: 1.65; }

.projects { background: var(--surface); }
.project-list { margin-top: 68px; border-top: 1px solid #cfd9e2; }
.project-row { display: grid; grid-template-columns: 70px minmax(280px, 0.9fr) 1.1fr; gap: 34px; align-items: center; min-height: 174px; padding: 26px 0; border-bottom: 1px solid #cfd9e2; }
.project-number { color: var(--gold-500); font-family: Georgia, serif; }
.project-tag { margin: 0 0 5px; color: var(--blue-600); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.project-row h3 { margin: 0; color: var(--navy-900); font-size: 1.42rem; line-height: 1.25; }
.project-row > p { margin: 0; color: var(--muted); }
.method-band { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; margin-top: 70px; padding: 40px; color: var(--white); background: var(--navy-900); }
.method-band > p { margin: 0; color: var(--gold-300); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.method-band ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.method-band li { display: flex; flex-direction: column; gap: 7px; font-weight: 700; }
.method-band li span { color: #8ba2bb; font-family: Georgia, serif; font-size: 0.78rem; }

.team { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(120deg, var(--navy-900), #113a61); }
.team::after { content: ""; position: absolute; width: 430px; height: 430px; right: -140px; bottom: -270px; border: 1px solid rgba(224, 199, 115, 0.28); transform: rotate(45deg); }
.team-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(60px, 9vw, 130px); }
.team h2 { color: var(--white); }
.team-intro > p:last-child { margin: 28px 0 0; color: #c1cfdd; font-size: 1.05rem; }
.expertise-list { border-top: 1px solid rgba(255, 255, 255, 0.19); }
.expertise-list article { padding: 25px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.19); }
.expertise-list span { color: var(--gold-300); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.expertise-list h3 { margin: 7px 0 4px; font-size: 1.28rem; }
.expertise-list p { margin: 0; color: #aebfd0; }

.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(60px, 9vw, 130px); align-items: start; }
.contact-copy > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.contact-panel { border-top: 1px solid var(--line); }
.contact-panel a { display: grid; grid-template-columns: 1fr auto; gap: 5px 24px; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: padding 180ms ease, color 180ms ease; }
.contact-panel a:hover { padding-left: 14px; color: var(--blue-600); }
.contact-label { grid-column: 1; color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-panel strong { grid-column: 1; font-size: 1.03rem; overflow-wrap: anywhere; }
.contact-panel i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--gold-500); font-style: normal; font-size: 1.2rem; }

.site-footer { color: #d3deea; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 2fr 0.8fr 1.2fr; gap: 70px; padding: 76px 0 60px; }
.footer-brand img { width: 190px; padding: 8px; background: var(--white); }
.footer-brand p { max-width: 390px; margin: 24px 0 0; color: #93a8bd; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-nav p, .footer-contact p { margin: 0 0 12px; color: var(--gold-300); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-nav a, .footer-contact a { color: #c3d0dd; font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; color: #7f95aa; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --header-height: 74px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .main-nav { position: fixed; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: rgba(255, 255, 255, 0.985); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { font-size: 1.25rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 58px); }
  .hero-grid, .split-heading, .services-heading, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .scroll-cue { display: none; }
  .services-heading, .split-heading { gap: 34px; }
  .pillars { grid-template-columns: 1fr; gap: 22px; }
  .project-row { grid-template-columns: 55px 1fr; }
  .project-row > p { grid-column: 2; }
  .method-band { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.4fr 0.8fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 34px, var(--container)); }
  .brand img { width: 39px; height: 39px; }
  .brand span { font-size: 1.08rem; letter-spacing: 0.14em; }
  .hero { padding-bottom: 64px; }
  .hero-grid { gap: 46px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 400px; }
  .image-frame { inset: 0 18px 54px 0; border-radius: 3px 3px 54px 3px; }
  .impact-card { width: 220px; padding: 20px 22px; }
  .ascending-line { display: none; }
  .section { padding: 78px 0; }
  .section-heading h2, .team h2, .contact h2 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .pillars { margin-top: 48px; }
  .pillars ul, .purpose-grid, .services-grid { grid-template-columns: 1fr; }
  .purpose-grid { margin-top: 48px; }
  .purpose-card { min-height: auto; padding: 30px; }
  .purpose-card h3 { margin-top: 42px; }
  .services-grid { gap: 0; margin-top: 48px; }
  .project-list { margin-top: 48px; }
  .project-row { grid-template-columns: 42px 1fr; gap: 16px; padding: 28px 0; }
  .project-row > p { grid-column: 1 / -1; padding-left: 58px; }
  .method-band { margin-top: 48px; padding: 30px; }
  .method-band ol { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-panel { margin-top: 6px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; padding-top: 58px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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