:root {
  --azure: #1a6fa8;
  --azure-dark: #0d4f7c;
  --azure-light: #3b8ec4;
  --azure-pale: #e8f4fb;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --ink: #1a1f26;
  --muted: #5a6472;
  --rule: rgba(26,111,168,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(10,40,65,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-wrap img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-fallback {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}



/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: #0a2841;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(26,111,168,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(13,79,124,0.35) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azure-light);
  margin-bottom: 28px;
  font-weight: 400;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: var(--azure-light);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.hero-body {
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  margin-bottom: 48px;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--azure);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--azure-light);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.sphere-container {
  position: relative;
  width: 340px;
  height: 340px;
}

.sphere-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(26,111,168,0.3);
  animation: rotateSlow 20s linear infinite;
}

.sphere-mid {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(26,111,168,0.5);
}

.sphere-inner-glow {
  position: absolute;
  inset: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, rgba(59,142,196,0.9) 0%, rgba(13,79,124,0.7) 45%, rgba(10,40,65,0.5) 100%);
  box-shadow: 0 0 60px rgba(26,111,168,0.4), inset 0 0 40px rgba(0,0,0,0.3);
}

.sphere-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--azure-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--azure-light);
}

.sphere-dot:nth-child(1) { top: 12px; left: 50%; transform: translateX(-50%); }
.sphere-dot:nth-child(2) { right: 18px; top: 50%; transform: translateY(-50%); }
.sphere-dot:nth-child(3) { bottom: 12px; left: 50%; transform: translateX(-50%); }
.sphere-dot:nth-child(4) { left: 18px; top: 50%; transform: translateY(-50%); }

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

/* ── SECTIONS ── */
section { padding: 100px 80px; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--azure);
}

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
}

/* ── SOLUTIONS ── */
#solutions {
  background: var(--off-white);
  position: relative;
}

#solutions::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.pillar {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  transition: background 0.2s;
}

.pillar:hover { background: var(--azure-pale); }

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(26,111,168,0.12);
  line-height: 1;
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.pillar p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.pillar-accent {
  position: absolute;
  bottom: 0; left: 40px;
  width: 32px;
  height: 2px;
  background: var(--azure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.pillar:hover .pillar-accent { transform: scaleX(1); }

/* ── ABOUT ── */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  border-left: 2px solid var(--azure);
  padding-left: 20px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--azure-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* ── PHILOSOPHY STRIP ── */
.philosophy {
  background: var(--azure-dark);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(59,142,196,0.2) 0%, transparent 60%);
}

.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.phil-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
}

.phil-item p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

/* ── CONTACT ── */
#contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--azure);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: white;
  stroke-width: 1.5;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-detail-text a {
  color: var(--ink);
  text-decoration: none;
}

.contact-detail-text a:hover { color: var(--azure); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(26,111,168,0.2);
  border-radius: 2px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--azure);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit { align-self: flex-start; }

#form-status {
  font-size: 0.85rem;
  color: var(--azure);
  display: none;
  margin-top: 8px;
}

/* ── FOOTER ── */
footer {
  background: #06192a;
  padding: 36px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.hidden {
  opacity: 0;
  transform: translateY(24px);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 28px; }

  .hero { grid-template-columns: 1fr; padding: 72px 0 0; }
  .hero-content { padding: 60px 32px; }
  .hero-visual { display: none; }

  section { padding: 72px 32px; }

  .pillars { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; gap: 12px; padding: 32px; }
  .philosophy { padding: 60px 32px; }
}

.mb-28 { margin-bottom: 28px; }