:root {
  --navy: #161B4D;
  --navy-2: #3652FF;
  --ink: #171B2E;
  --muted: #5B6178;
  --line: #E2E5F0;
  --paper: #F5F6FB;
  --white: #ffffff;
  --accent: #FF8A3D;
  --max: 1200px;
  --page-max: 1760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

/* Caps the whole site so full-bleed section backgrounds don't stretch
   indefinitely on very wide screens, while staying fully fluid below that cap */
.page { max-width: var(--page-max); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(226,229,240,.9);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Wordmark logo: Grade + superscript n, two-tone */
.wordmark { display:inline-flex; align-items:baseline; font-family:"Manrope"; font-weight:800; }
.wordmark .grade { font-size:29px; letter-spacing:-.01em; color:var(--ink); }
.wordmark .n { font-size:17px; color:var(--accent); margin-left:1px; transform:translateY(-13px); display:inline-block; }
.footer .wordmark .grade { color:#fff; }

/* Inline "Graden" mentions in body copy get the same font/style as the logo */
.brand-inline { font-family:"Manrope"; font-weight:800; }
.brand-inline .n { color:var(--accent); font-size:0.62em; vertical-align:super; margin-left:0.5px; }

.main-nav { display:flex; align-items:center; gap:25px; font-size:14px; font-weight:600; }
.main-nav a { color:#465361; }
.main-nav a:hover { color:var(--navy-2); }
.nav-cta {
  padding:11px 18px; background:var(--navy); color:#fff !important; border-radius:4px;
}
.nav-cta:hover { background:var(--navy-2); }
.menu-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; }
.menu-toggle span { display:block; width:25px; height:2px; margin:5px 0; background:var(--ink); }

.hero {
  background:var(--paper);
  position:relative;
  overflow:hidden;
}
.hero-grid {
  min-height:400px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
  gap:70px;
}
.eyebrow {
  margin:0 0 17px;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
}
h1,h2,h3 { font-family:"Manrope", Arial, sans-serif; }
h1 {
  margin:0;
  max-width:750px;
  font-size:clamp(42px, 5.6vw, 72px);
  line-height:1.05;
  letter-spacing:-.045em;
}
h1 span { color:var(--navy-2); }
.hero-text p {
  max-width:600px; margin:0 0 16px; color:var(--muted);
  font-size:18px;
}
.hero-text { margin:24px 0 0; }

/* Hero graphic: layered modular blocks instead of blurred orbs */
.hero-visual { position:relative; min-height:400px; }
.block { position:absolute; border-radius:22px; }
.block-a {
  width:230px; height:230px; right:0; top:-10px;
  background:linear-gradient(135deg,#3652FF,#8b97ff);
  opacity:.16; transform:rotate(8deg);
}
.block-b {
  width:160px; height:160px; left:0; bottom:20px;
  background:linear-gradient(135deg,#FF8A3D,#ffc196);
  opacity:.22; transform:rotate(-8deg);
}
.block-c {
  width:120px; height:120px; right:70px; bottom:30px;
  background:linear-gradient(135deg,#161B4D,#3652FF);
  opacity:.1; transform:rotate(16deg);
}
.dot-grid {
  position:absolute; width:170px; height:170px; right:-6px; top:30px;
  background-image:radial-gradient(rgba(22,27,77,.22) 1.6px, transparent 1.6px);
  background-size:15px 15px; opacity:.55;
}
.hero-panel {
  position:absolute; top:100px; left:30px; width:290px; padding:28px;
  background:rgba(22,27,77,.96); color:#fff; box-shadow:0 25px 60px rgba(22,27,77,.2);
  border-radius:2px;
}
.hero-panel strong { display:block; margin-top:0; font:700 25px "Manrope"; }
.hero-panel small { display:block; margin-top:7px; color:#c7cbf0; }
.panel-two { top:auto; left:auto; right:0; bottom:45px; width:245px; background:#fff; color:var(--ink); box-shadow:0 25px 60px rgba(22,27,77,.14); }
.panel-two small { color:var(--muted); }
.hero-line { height:4px; background:linear-gradient(90deg,var(--navy) 0 72%,var(--accent) 72%); }

.section { padding:36px 0; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:start; }
h2 { margin:0; font-size:clamp(28px,3.4vw,42px); line-height:1.15; letter-spacing:-.03em; }
.section-copy { max-width:580px; color:var(--muted); font-size:17px; }
.section-copy p:first-child { margin-top:0; color:var(--ink); font-size:19px; }
.section-copy p { margin:0 0 20px; }
.text-link { font-weight:700; font-size:14px; }
.text-link span { color:var(--accent); margin-left:7px; }

.services { background:var(--navy); color:#fff; padding-bottom:20px; }
.section-heading { display:flex; justify-content:space-between; gap:60px; margin-bottom:24px; }
.section-heading > div { max-width:760px; }
.service-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px 40px; }
.service-card { padding:0; }
.service-card h3 { font-size:19px; line-height:1.3; margin:0 0 15px; }
.service-card .card-icon { font-size:34px; display:block; margin-bottom:10px; line-height:1; }
.service-card p { color:#c3c6ec; font-size:14px; min-height:70px; }
.service-card a { display:inline-block; margin-top:10px; color:#fff; font-size:13px; font-weight:700; }
.service-card a span { color:var(--accent); margin-left:4px; }

.expertise { background:var(--paper); }
.expertise-head { max-width:none; margin-bottom:20px; }
.expertise-list { border-top:none; }
.expertise-list > div {
  display:grid; grid-template-columns:70px 1fr 1fr; align-items:center;
  padding:15px 0; border-bottom:none;
}
.expertise-list span { color:var(--accent); font-size:12px; font-weight:800; }
.expertise-list strong { font:700 22px "Manrope"; }
.expertise-list small { color:var(--muted); font-size:16px; }

.numbers { background:#fff; }
.numbers-intro { max-width:none; }
.stats {
  display:grid; grid-template-columns:repeat(4,1fr); margin-top:22px;
}
.stats div { padding:18px 20px; text-align:center; }
.stats strong { display:flex; align-items:center; justify-content:center; height:64px; color:var(--navy-2); font:800 52px "Manrope"; letter-spacing:-.04em; }
.stats div:nth-child(4) strong { font-size:60px; }
.stats span { color:var(--muted); font-size:13px; }

.contact { background:var(--navy); color:#fff; }
.contact-compact { max-width:100%; }
.contact-compact h2 { margin-bottom:10px; }
.contact-intro { color:#c7caee; font-size:16px; margin:0 0 22px; }
.contact-form { display:grid; gap:16px; }
.form-row-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; }
.contact-form label { color:#dce0fa; font-size:13px; font-weight:600; }
.contact-form input,.contact-form textarea {
  display:block; width:100%; margin-top:6px; padding:12px 14px;
  border:1px solid #3c4390; border-radius:3px; background:#1f245c; color:#fff;
  font:inherit; resize:vertical;
}
.contact-form textarea { min-height:80px; }
.contact-form input::placeholder,.contact-form textarea::placeholder { color:#9297c4; }
.contact-form .button { width:max-content; }
.form-note { color:#9297c4; font-size:13px; margin:2px 0 0; min-height:16px; }
.form-note.form-note-success { color:#8be3b3; }
.form-note.form-note-error { color:#ff9c9c; }
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.button {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:0 22px; border-radius:4px;
  border:1px solid transparent; font-weight:700; font-size:14px; cursor:pointer;
}
.button-primary { background:var(--accent); color:#1a1200; }
.button-primary:hover { background:#ff9c5c; }

.footer { background:#0F1338; color:#a9adda; padding:44px 0; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px; }
.footer p { margin:14px 0 0; font-size:13px; }
.footer-links { display:flex; gap:22px; justify-content:center; font-size:13px; }
.footer-meta { display:flex; gap:20px; justify-content:flex-end; font-size:13px; }

@media (max-width: 1000px) {
  .main-nav { gap:17px; }
  .hero-grid { grid-template-columns:1fr; min-height:auto; padding:44px 0; }
  .hero-visual { min-height:380px; max-width:650px; width:100%; margin:auto; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .stats { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  .container { width:min(calc(100% - 32px), var(--max)); }
  .nav-wrap { min-height:68px; }
  .menu-toggle { display:block; }
  .main-nav {
    display:none; position:absolute; top:68px; left:0; right:0; padding:20px 16px;
    background:#fff; border-bottom:1px solid var(--line); flex-direction:column; align-items:stretch;
  }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px 5px; }
  .nav-cta { text-align:center; }
  .hero-grid { padding:36px 0 32px; gap:24px; }
  h1 { font-size:clamp(36px,11vw,52px); }
  .hero-visual { min-height:320px; transform:scale(.92); transform-origin:left top; }
  .section { padding:26px 0; }
  .split { grid-template-columns:1fr; gap:35px; }
  .form-row-3 { grid-template-columns:1fr; gap:14px; }
  .section-heading { display:block; margin-bottom:28px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { padding:0; }
  .service-card p { min-height:auto; }
  .expertise-list > div { grid-template-columns:45px 1fr; gap:8px; }
  .expertise-list small { grid-column:2; }
  .stats { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-links,.footer-meta { justify-content:flex-start; flex-wrap:wrap; }
}

@media (max-width: 480px) {
  .hero-visual { min-height:280px; transform:scale(.78); width:128%; }
  .stats { grid-template-columns:1fr; }
}
