:root {
  --navy-950: #03162f;
  --navy-900: #061f42;
  --navy-800: #0a2d59;
  --blue-600: #1f72d6;
  --blue-400: #58a9ff;
  --blue-300: #83c4ff;
  --blue-gradient: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  --blue-gradient-soft: linear-gradient(135deg, rgba(31, 114, 214, 0.10), rgba(88, 169, 255, 0.22));
  --ice: #e9f3ff;
  --white: #ffffff;
  --ink: #0b1b2f;
  --slate: #526173;
  --line: rgba(10, 45, 89, 0.14);
  --shadow: 0 24px 70px rgba(3, 22, 47, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: #f7f9fc;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 16px auto 0;
  padding: 14px 18px;
  background: rgba(247, 249, 252, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(3, 22, 47, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-mark {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--blue-600);
}

.nav-contact {
  padding: 9px 14px;
  color: var(--white);
  background: var(--blue-gradient);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(31, 114, 214, 0.18);
}

.nav-contact:hover {
  color: var(--white) !important;
  background: var(--blue-600);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  gap: 48px;
  min-height: 760px;
  padding-block: 96px 80px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -10%;
  bottom: 6%;
  width: 62%;
  z-index: -2;
  background:
    radial-gradient(circle at 58% 42%, rgba(88, 169, 255, 0.34), transparent 34%),
    radial-gradient(circle at 72% 60%, rgba(31, 114, 214, 0.16), transparent 48%);
  filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 23%;
  width: 300px;
  height: 300px;
  z-index: -1;
  border: 1px solid rgba(31, 114, 214, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 80px rgba(88, 169, 255, 0.10);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-brand-mark {
  position: absolute;
  right: 8.5%;
  top: 31%;
  z-index: 0;
  width: 190px;
  opacity: 0.34;
  pointer-events: none;
}

.hero-brand-mark img {
  width: 100%;
  filter: saturate(0.8) drop-shadow(0 18px 34px rgba(3, 22, 47, 0.08));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy-950);
  line-height: 1.08;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6vw, 5.8rem);
  letter-spacing: -0.045em;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 1.32rem;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--slate);
  font-size: 1.13rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue-gradient);
  box-shadow: 0 12px 28px rgba(31, 114, 214, 0.24);
}

.button-secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--line);
}

.content-section {
  padding-block: 110px;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-400));
}

.pillar-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card,
.project-card {
  min-height: 260px;
  padding: 30px;
  background: linear-gradient(160deg, var(--white) 70%, rgba(88, 169, 255, 0.10));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 45px rgba(3, 22, 47, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pillar-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 114, 214, 0.3);
  box-shadow: 0 22px 52px rgba(3, 22, 47, 0.1);
}

.card-number {
  display: inline-block;
  margin-bottom: 66px;
  color: var(--blue-600);
  font-size: 0.84rem;
  font-weight: 700;
}

.pillar-card p,
.project-card p,
.process-step p,
.about-card > p {
  margin-bottom: 0;
  color: var(--slate);
}

.process-section {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(88, 169, 255, 0.18), transparent 34%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.process-section h2,
.process-section h3 {
  color: var(--white);
}

.process-section .eyebrow {
  color: var(--blue-400);
}

.process-grid {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.process-step > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy-950);
  background: var(--ice);
  border-radius: 50%;
  font-weight: 800;
}

.process-step p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.project-card {
  min-height: 200px;
  background: linear-gradient(180deg, var(--white), #f0f6fd);
}

.about-section {
  padding-top: 40px;
}

.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: end;
  padding: 56px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    var(--blue-gradient-soft);
  border: 1px solid rgba(31, 114, 214, 0.12);
  border-radius: var(--radius-lg);
}

.about-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
}

.contact-section {
  margin-top: 80px;
  padding-block: 110px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 114, 214, 0.20), transparent 42%),
    var(--navy-950);
}

.contact-inner {
  text-align: center;
}

.contact-inner h2 {
  margin-inline: auto;
  color: var(--white);
}

.contact-inner > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  justify-content: center;
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
}

.text-link {
  padding: 10px;
  color: var(--blue-400);
  font-weight: 700;
}

.contact-inner small {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 34px;
  color: var(--slate);
  font-size: 0.86rem;
}

.site-footer strong {
  color: var(--navy-900);
}

.site-footer p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
    padding-top: 88px;
  }

  .hero-visual {
    max-width: 680px;
  }

  .pillar-grid,
  .project-grid,
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-card {
    gap: 24px;
    padding: 38px;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .site-header {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-name {
    display: none;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero {
    padding-block: 66px;
  }

  .content-section,
  .contact-section {
    padding-block: 78px;
  }

  .pillar-card,
  .project-card,
  .process-step {
    padding: 24px;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .card-number {
    margin-bottom: 42px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Version 6: seamless organic blue hero background */
.hero {
  position: relative;
  overflow: visible;
  grid-template-columns: 1fr;
  isolation: isolate;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-blob {
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 50%;
  width: min(1540px, calc(100vw - 12px));
  height: 720px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.94;
}

.hero-blob svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-blob .blob-main {
  transform-origin: 48% 48%;
  animation: blobDrift 20s ease-in-out infinite alternate;
}

.hero-blob .blob-glow {
  transform-origin: 52% 52%;
  animation: blobGlowDrift 24s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

@keyframes blobDrift {
  from { transform: translate3d(-5px, 2px, 0) scale(1); }
  to { transform: translate3d(12px, -6px, 0) scale(1.012); }
}

@keyframes blobGlowDrift {
  from { transform: translate3d(7px, 0, 0) scale(1.01); }
  to { transform: translate3d(-10px, 7px, 0) scale(1.035); }
}

@media (max-width: 900px) {
  .hero {
    overflow: hidden;
  }

  .hero-blob {
    left: 48%;
    width: 150vw;
    height: 700px;
    opacity: 0.74;
  }
}

@media (max-width: 620px) {
  .hero-blob {
    left: 46%;
    top: 20px;
    width: 205vw;
    height: 620px;
    opacity: 0.60;
  }
}
