:root {
  --ink: #2c3e50;
  --ink-2: #396280;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #d9e3e9;
  --muted: #667685;
  --blue: #0a5d91;
  --blue-dark: #084b75;
  --cyan: #24abbc;
  --ice: #dff4f7;
  --orange: #24abbc;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; }
.brand-mark { width: 2.55rem; height: 3rem; flex: 0 0 auto; background: url("nai-logo.png") center / contain no-repeat; }
.brand-name { font-family: Montserrat, Inter, sans-serif; font-size: 1.08rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .91rem; font-weight: 600; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.site-nav .nav-cta { padding: .68rem 1rem; color: var(--white); background: var(--ink); }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { color: var(--white); background: var(--blue); }
.menu-button { display: none; border: 0; background: transparent; font: inherit; font-weight: 700; }

.hero {
  width: min(calc(100% - 3rem), var(--max));
  min-height: calc(100vh - 87px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8.5rem) 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-family: Montserrat, Inter, sans-serif; font-size: .78rem; line-height: 1.3; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: Montserrat, Inter, sans-serif; font-weight: 600; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3rem, 6.8vw, 6.6rem); line-height: .97; letter-spacing: -.045em; }
.hero-lede { max-width: 770px; margin: 2.2rem 0 0; color: var(--ink-2); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.button { display: inline-flex; align-items: center; gap: .65rem; padding: .9rem 1.15rem; text-decoration: none; font-weight: 600; line-height: 1.2; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.text-link { color: var(--ink); font-weight: 600; text-underline-offset: .3rem; }
.hero-proof { align-self: end; padding: 1.4rem 0 0 1.5rem; border-left: 4px solid; border-image: linear-gradient(180deg, var(--blue), var(--cyan)) 1; }
.proof-intro { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.hero-proof dl { margin: 0; }
.hero-proof dl div { padding: .9rem 0; border-top: 1px solid var(--line); }
.hero-proof dt { font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; }
.hero-proof dd { margin: .1rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }

.positioning { padding: clamp(3rem, 7vw, 6rem) max(1.5rem, calc((100vw - var(--max)) / 2)); color: var(--white); background: linear-gradient(120deg, var(--ink) 0%, var(--blue) 78%, var(--cyan) 145%); }
.positioning p { max-width: 1060px; margin: 0; font-size: clamp(1.65rem, 3.4vw, 3.1rem); line-height: 1.18; letter-spacing: -.035em; }
.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 3rem; align-items: start; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.03; letter-spacing: -.05em; }
.section-heading > p:last-child { max-width: 640px; margin: .25rem 0 0; color: var(--muted); font-size: 1.1rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-card { min-height: 390px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--white); }
.service-card:last-child { border-right: 0; }
.service-card.featured { color: var(--white); background: linear-gradient(145deg, var(--blue), #087a9c); }
.service-number { color: var(--orange); font-weight: 850; font-size: .78rem; letter-spacing: .12em; }
.service-card h3 { margin: 2rem 0 1rem; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.12; letter-spacing: -.03em; }
.service-card p { margin: 0; }
.service-card .for { margin-top: auto; padding-top: 2rem; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); }
.service-card.featured .for { color: var(--ice); border-color: rgba(255,255,255,.3); }

.decision-section { border-top: 1px solid var(--line); }
.section-heading.compact { grid-template-columns: .7fr 1.3fr; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.decision-grid p { min-height: 190px; margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: auto 1fr; align-content: end; align-items: start; background: var(--white); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; letter-spacing: -.025em; }
.decision-grid p::before { content: ""; width: .55rem; height: .55rem; margin: .46em 1rem 0 0; background: var(--orange); }

.background { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); border-top: 1px solid var(--line); }
.background-title h2 { position: sticky; top: 2rem; }
.background-copy > p { margin: 0 0 1.4rem; color: var(--ink-2); font-size: 1.12rem; }
.background-copy > p:first-child { color: var(--ink); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.4; letter-spacing: -.025em; }
.credentials { margin-top: 3rem; border-top: 1px solid var(--line); }
.credentials div { padding: 1.2rem 0; display: grid; grid-template-columns: .6fr 1.4fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.credentials span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.credentials strong { font-size: .95rem; line-height: 1.4; }

.approach { border-top: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.principles article { padding-top: 1.2rem; border-top: 3px solid var(--ink); }
.principles h3 { margin: 0 0 .7rem; font-size: 1.12rem; }
.principles p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact { padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - var(--max)) / 2)); color: var(--white); background: linear-gradient(120deg, var(--blue), #087a9c 72%, var(--cyan)); }
.contact .eyebrow { color: var(--ice); }
.contact h2 { max-width: 900px; }
.contact > p:not(.eyebrow) { max-width: 680px; margin: 1.5rem 0 2.2rem; font-size: 1.1rem; color: var(--ice); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--ice); }
footer { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 2rem 0; display: grid; grid-template-columns: 1.3fr 1.5fr 1fr auto; gap: 1.5rem; align-items: center; color: var(--muted); font-size: .79rem; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 2.15rem; height: 2.55rem; }
footer p { margin: 0; }

@media (max-width: 940px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-proof { max-width: 600px; align-self: auto; }
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card .for { margin-top: 2rem; }
  .principles { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
  .site-header { width: min(calc(100% - 2rem), var(--max)); min-height: 72px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; z-index: 10; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .site-nav .nav-cta { margin-top: .4rem; padding: .8rem; text-align: center; }
  .hero, .section { width: min(calc(100% - 2rem), var(--max)); }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.6rem); }
  .section-heading, .section-heading.compact, .background { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin-top: 1.5rem; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid p { min-height: 150px; }
  .background-title h2 { position: static; }
  .principles { grid-template-columns: 1fr; }
  footer { width: min(calc(100% - 2rem), var(--max)); grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
