:root {
  --navy: #0b1f33;
  --navy-2: #102b46;
  --blue: #147bc1;
  --cyan: #18ace1;
  --ink: #15202b;
  --muted: #647180;
  --line: #dce4ea;
  --paper: #f5f8fa;
  --white: #ffffff;
  --max: 1220px;
}

* { 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(--white);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(11, 31, 51, .94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand img {
    width: 118px;
    height: auto;
    display: block;
}
.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-size: .91rem;
  font-weight: 600;
  color: rgba(255,255,255,.86);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 1px;
  background: var(--cyan);
  transition: right .25s ease;
}
.main-nav a:hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display:block; width:26px; height:2px; margin:5px 0; background:white; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(11,31,51,.98), rgba(16,43,70,.94)),
    radial-gradient(circle at 75% 25%, rgba(24,172,225,.3), transparent 36%);
  padding: 140px max(24px, calc((100vw - var(--max)) / 2)) 100px;
}
.hero::before {
  content: "";
  position:absolute;
  inset:0;
  opacity:.13;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow { position:absolute; border-radius:50%; filter: blur(8px); opacity:.3; }
.hero-glow-one { width:460px; height:460px; right:-120px; top:14%; background:radial-gradient(circle, var(--cyan), transparent 68%); }
.hero-glow-two { width:330px; height:330px; left:35%; bottom:-210px; background:radial-gradient(circle, var(--blue), transparent 70%); }
.hero-content { position: relative; z-index:2; max-width: 950px; }
.eyebrow {
  margin: 0 0 22px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #8ed9f4; }
.hero h1 {
  margin:0;
  max-width: 1000px;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 600;
}
.rotating-wrap { display:block; min-height:1.08em; color: #4fc5ed; }
#rotating-word { display:inline-block; transition: opacity .22s ease, transform .22s ease; }
#rotating-word.out { opacity:0; transform:translateY(16px); }
.hero-copy { max-width: 700px; margin: 34px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.72); }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; margin-top: 42px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 24px; border-radius:999px; text-decoration:none; font-weight:700; font-size:.92rem; transition:.2s ease; }
.button-primary { background:var(--cyan); color:var(--navy); }
.button-primary:hover { transform:translateY(-2px); background:white; }
.button-ghost { border:1px solid rgba(255,255,255,.35); color:white; }
.button-ghost:hover { border-color:white; transform:translateY(-2px); }
.scroll-cue { position:absolute; z-index:2; bottom:34px; right:max(24px, calc((100vw - var(--max)) / 2)); display:flex; align-items:center; gap:12px; text-decoration:none; color:rgba(255,255,255,.65); font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; }
.scroll-cue i { display:block; width:42px; height:1px; background:currentColor; position:relative; }

.section { padding: 120px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { display:flex; gap:20px; align-items:center; margin-bottom:72px; }
.section-heading p { margin:0; }
.section-number { color:var(--blue); font-weight:700; font-size:.8rem; }
.section-light { background:var(--paper); }
.split-grid, .contact-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px,8vw,120px); }
h2 { margin:0; font-size:clamp(2.7rem,5vw,5.3rem); line-height:1.02; letter-spacing:-.055em; font-weight:600; }
.section-copy { font-size:1.07rem; color:var(--muted); }
.section-copy p:first-child { margin-top:0; }
.section-copy p + p { margin-top:24px; }

.section-dark { background:var(--navy); color:white; }
.section-dark .section-heading .eyebrow { color:rgba(255,255,255,.72); }
.service-grid { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid rgba(255,255,255,.13); }
.service-card { min-height:290px; padding:38px 34px 44px 0; border-bottom:1px solid rgba(255,255,255,.13); }
.service-card:nth-child(odd) { border-right:1px solid rgba(255,255,255,.13); padding-right:48px; }
.service-card:nth-child(even) { padding-left:48px; }
.service-card span { color:#64caed; font-size:.75rem; letter-spacing:.12em; }
.service-card h3 { margin:42px 0 14px; font-size:1.8rem; letter-spacing:-.035em; }
.service-card p { margin:0; max-width:480px; color:rgba(255,255,255,.64); }

.investments { background:white; }
.investment-panel { position:relative; overflow:hidden; display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(50px,8vw,120px); padding:80px; border-radius:28px; color:white; background:linear-gradient(135deg,var(--navy-2),var(--navy)); }
.investment-panel::after { content:""; position:absolute; width:380px; height:220px; right:-80px; bottom:-90px; border:28px solid rgba(24,172,225,.24); border-radius:50%; transform:rotate(14deg); }
.investment-panel .section-copy { color:rgba(255,255,255,.68); position:relative; z-index:1; }
.text-link { display:inline-flex; gap:12px; margin-top:26px; color:white; text-decoration:none; font-weight:700; }
.text-link span { color:var(--cyan); transition:transform .2s ease; }
.text-link:hover span { transform:translateX(5px); }

.contact { background:#eaf2f6; }
.contact-grid > div:first-child p { max-width:560px; color:var(--muted); font-size:1.05rem; }
.contact-details { align-self:end; }
.contact-details a { display:inline-block; margin-bottom:28px; color:var(--blue); font-size:clamp(1.25rem,2vw,1.8rem); font-weight:700; text-decoration:none; border-bottom:1px solid currentColor; }
.contact-details p { margin:4px 0; color:var(--muted); }

.site-footer { padding:34px max(24px, calc((100vw - var(--max)) / 2)); display:flex; align-items:center; justify-content:space-between; gap:30px; background:#071724; color:rgba(255,255,255,.6); font-size:.82rem; }
.footer-brand { display:flex; align-items:center; gap:10px; color:white; font-weight:700; }
.footer-brand img { width:42px }
.site-footer a { color:white; text-decoration:none; }

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

@media (max-width: 860px) {
  .site-header { height:72px; }
  .brand span { font-size:.93rem; }
  .brand img { width:48px; }
  .nav-toggle { display:block; z-index:1002; }
  .main-nav { position:fixed; inset:0; background:rgba(7,23,36,.98); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:26px; padding:0 32px; opacity:0; visibility:hidden; transform:translateY(-12px); transition:.25s ease; }
  .main-nav.open { opacity:1; visibility:visible; transform:none; }
  .main-nav a { font-size:clamp(2rem,8vw,3.6rem); letter-spacing:-.045em; }
  .hero { min-height: 820px; padding-top:120px; }
  .hero h1 { font-size:clamp(3rem,12vw,5.2rem); }
  .scroll-cue { left:24px; right:auto; }
  .section { padding-top:88px; padding-bottom:88px; }
  .section-heading { margin-bottom:48px; }
  .split-grid, .contact-grid, .investment-panel { grid-template-columns:1fr; gap:42px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card, .service-card:nth-child(odd), .service-card:nth-child(even) { border-right:0; padding:34px 0 40px; min-height:0; }
  .investment-panel { padding:48px 30px; }
  .site-footer { flex-direction:column; align-items:flex-start; }
}

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

/* Contact form */
.contact-grid-form { align-items: start; }
.contact-note { margin-top: 26px; font-size: .9rem !important; }
.contact-form { width: 100%; }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-row label span { color: var(--blue); }
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #c9d6df;
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row textarea { resize: vertical; min-height: 170px; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20,123,193,.10);
}
.form-submit {
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  padding-left: 28px;
  padding-right: 28px;
}
.form-submit:hover { transform: translateY(-2px); background: var(--blue); }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-message {
  margin: 0 0 26px;
  padding: 15px 17px;
  border-radius: 10px;
  font-size: .92rem;
}
.form-success { border: 1px solid #8ab89a; background: #eef8f1; color: #245635; }
.form-error { border: 1px solid #d7a0a0; background: #fff3f3; color: #7a2b2b; }
