:root {
  --ink: #16212b;
  --brand: #2d4d6c;
  --brand-2: #528bc5;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --line: #dce4ea;
  --muted: #617180;
  --max: 1200px;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(26, 49, 70, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section-pad { padding: 110px 0; }
.soft { background: var(--soft); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 9999;
  padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,228,234,.75);
}
.header-inner { min-height: 80px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-lockup img { width: 42px; height: 42px; }
.site-nav { display: flex; justify-content: center; gap: 28px; }
.site-nav a { font-size: 14px; font-weight: 600; color: #435463; transition: color .2s ease; }
.site-nav a:hover { color: var(--brand-2); }
.language-switch { display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 700; color: #8a98a4; }
.language-switch button { border: 0; background: transparent; cursor: pointer; padding: 6px 0; color: inherit; }
.language-switch button.active { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 9px; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.hero { min-height: calc(100vh - 80px); display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--brand-2); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.eyebrow.light { color: #c6dcf0; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { font-size: clamp(3rem, 6.4vw, 6.5rem); line-height: .98; letter-spacing: -.065em; margin: 0; max-width: 850px; }
.hero-lead { max-width: 700px; font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: var(--muted); margin: 30px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--brand); box-shadow: 0 12px 30px rgba(45,77,108,.18); }
.button.ghost { border-color: var(--line); color: var(--brand); background: white; }
.button.inverted { background: white; color: var(--brand); }

.hero-visual { display: flex; justify-content: center; align-items: center; min-height: 500px; }
.logo-orbit { width: min(38vw, 470px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.hero-logo { width: 45%; position: relative; z-index: 3; filter: drop-shadow(0 18px 35px rgba(45,77,108,.14)); }
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(82,139,197,.24); border-radius: 50%; }
.orbit-a { inset: 0; animation: pulse 6s ease-in-out infinite; }
.orbit-b { inset: 15%; animation: pulse 6s 1.2s ease-in-out infinite; }
.orbit-c { inset: 30%; animation: pulse 6s 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(.98); opacity: .55; } 50% { transform: scale(1.035); opacity: 1; } }

.statement { background: var(--brand); color: white; }
.statement-inner { padding: 70px 0; }
.statement p { margin: 0; max-width: 980px; font-size: clamp(1.6rem, 3.4vw, 3.25rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 600; }

.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; align-items: start; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4.25rem); line-height: 1.05; letter-spacing: -.05em; margin: 0; }
.prose { max-width: 700px; }
.prose p { font-size: 1.12rem; color: var(--muted); margin: 0 0 24px; }

.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 52px; }
.section-heading > p { margin: 0; max-width: 460px; color: var(--muted); }

.brand-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.brand-card { position: relative; min-height: 345px; padding: 18px; border-radius: var(--radius); background: white; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c7d4de; }
.brand-card:nth-child(1), .brand-card:nth-child(2), .brand-card:nth-child(3) { grid-column: span 4; }
.brand-card:nth-child(4), .brand-card:nth-child(5), .brand-card:nth-child(6), .brand-card:nth-child(7) { grid-column: span 3; }
.brand-visual { position: relative; border-radius: 18px; overflow: hidden; background: #f7fafc; border: 1px solid #e3eaf0; aspect-ratio: 16 / 9; }
.brand-visual img { width: 100%; height: 100%; object-fit: cover; }
.brand-body { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; flex: 1; padding: 0 8px 8px; }
.brand-wordmark { font-size: clamp(1.45rem, 2.2vw, 2.1rem); letter-spacing: -.05em; font-weight: 800; }
.brand-meta { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; }
.brand-meta p { margin: 0; max-width: 230px; color: var(--muted); font-size: 13px; }
.brand-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--brand); background: white; }
.brand-card.no-url .brand-link { opacity: .28; pointer-events: none; }
.brand-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -75px; top: -75px; border-radius: 50%; background: rgba(82,139,197,.05); pointer-events: none; }

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 330px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-index { color: var(--brand-2); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.capability-card h3 { margin: 92px 0 16px; font-size: 1.35rem; letter-spacing: -.025em; }
.capability-card p { margin: 0; color: var(--muted); font-size: 14px; }

.business { padding-top: 20px; }
.business-panel { background: linear-gradient(135deg, var(--brand), #18344e); color: white; border-radius: 32px; padding: 70px; display: flex; align-items: end; justify-content: space-between; gap: 50px; box-shadow: 0 24px 70px rgba(35,65,92,.18); }
.business-panel h2 { max-width: 720px; }
.business-panel p:not(.eyebrow) { max-width: 720px; color: #dbe6ee; margin: 24px 0 0; }
.business-panel .button { flex: 0 0 auto; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 510px; }
.contact-list { display: grid; gap: 13px; margin-top: 34px; font-weight: 650; }
.contact-list a { width: fit-content; color: var(--brand); }
.contact-list a:hover { color: var(--brand-2); }
.contact-form { display: grid; gap: 18px; padding: 34px; background: var(--soft); border-radius: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 13px 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(82,139,197,.10); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.submit-button { width: fit-content; }
.form-status { margin: 0; min-height: 22px; font-size: 13px; }
.form-status.success { color: #166534; }
.form-status.error { color: #b42318; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.site-footer { background: #132535; color: white; padding: 46px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 46px; border-radius: 50%; }
.footer-brand p { margin: 2px 0 0; color: #9eb2c3; font-size: 12px; }
.footer-links { display: flex; gap: 22px; color: #c2d1dc; font-size: 13px; }
.copyright { margin: 0; color: #8fa5b7; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .site-nav { display: none; position: fixed; inset: 80px 0 0; background: white; padding: 36px 20px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 26px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; order: 2; }
  .language-switch { justify-self: end; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero { min-height: auto; padding-top: 90px; }
  .hero-visual { min-height: 330px; }
  .logo-orbit { width: min(72vw, 390px); }
  .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .brand-card:nth-child(n) { grid-column: span 6; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .business-panel { padding: 50px; align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section-pad { padding: 78px 0; }
  .header-inner { min-height: 70px; gap: 12px; }
  .site-nav { inset-top: 70px; }
  .brand-lockup img { width: 36px; height: 36px; }
  .brand-lockup span { display: none; }
  h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 260px; }
  .statement-inner { padding: 48px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
  .brand-grid { gap: 14px; }
  .brand-card:nth-child(n) { grid-column: span 12; min-height: 310px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 250px; }
  .capability-card h3 { margin-top: 55px; }
  .business { padding-top: 0; }
  .business-panel { padding: 38px 26px; border-radius: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .footer-links { flex-wrap: wrap; }
}

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