:root {
  --blue: #4285F4;
  --blue-dark: #3367d6;
  --gray: #999999;
  --gray-light: #e8e8e8;
  --gray-mid: #5f6368;
  --black: #1a1a1a;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
}

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--blue);
  margin-top: 0;
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.125rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f0fe 0%, #f5f8fc 100%);
  color: var(--black);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  border-bottom: 1px solid rgba(66, 133, 244, 0.12);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.12;
  filter: blur(60px);
  animation: hero-float 18s ease-in-out infinite;
}
.hero-bg-blob:nth-child(1) { width: 280px; height: 280px; top: -80px; left: -60px; animation-delay: 0s; animation-duration: 20s; }
.hero-bg-blob:nth-child(2) { width: 220px; height: 220px; top: 30%; right: -40px; animation-delay: -5s; animation-duration: 22s; }
.hero-bg-blob:nth-child(3) { width: 200px; height: 200px; bottom: -60px; left: 20%; animation-delay: -10s; animation-duration: 19s; }
.hero-bg-blob:nth-child(4) { width: 160px; height: 160px; top: 50%; left: -30px; animation-delay: -3s; animation-duration: 24s; }
.hero-bg-blob:nth-child(5) { width: 120px; height: 120px; top: 15%; right: 25%; animation-delay: -7s; animation-duration: 17s; }
@keyframes hero-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.98); }
}
.hero .container { position: relative; z-index: 1; max-width: 880px; }
.hero-logo {
  display: block;
  margin: 0 auto 2rem;
  height: auto;
  width: 100%;
  max-width: 620px;
  max-height: 520px;
  object-fit: contain;
}
.hero-tagline {
  font-size: 1.25rem;
  color: var(--gray-mid);
  margin: 0 0 2rem;
  font-weight: 500;
}
.hero-mission {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--black);
  margin: 0;
}

/* Section spacing */
section {
  padding: 3.5rem 0;
}
section#vision {
  padding-top: 5rem;
}
section:nth-child(even) { background: #f8f9fa; }

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

/* Vision blockquote */
.vision-block {
  border-left: 4px solid var(--blue);
  padding-left: 1.25rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--gray-mid);
}

/* What we do / Core values grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
section:nth-child(even) .card { border-color: #e2e4e8; }

/* Who we serve list */
.serve-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 600px) {
  .serve-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
.serve-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.serve-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Image placeholder */
.img-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--gray-light);
  border: 2px dashed var(--gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.875rem;
  margin: 1.5rem 0;
}
.img-placeholder span { padding: 0 1rem; text-align: center; }

/* CTA */
.cta-block,
section.cta-block {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--blue);
  color: var(--white);
}
.cta-block h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-block p { margin: 0 0 1.25rem; opacity: 0.95; }
.cta-link {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}
.cta-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray);
  background: linear-gradient(180deg, #e8f0fe 0%, #f5f8fc 100%);
  border-top: 1px solid rgba(66, 133, 244, 0.12);
}
footer img {
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Section images (replaces inline styles) */
.section-img {
  width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Full-width card (replaces inline style on collaboration card) */
.card--full {
  grid-column: 1 / -1;
}

/* Footer email link */
.footer-email {
  color: var(--blue);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-blob { animation: none; }
  html { scroll-behavior: auto; }
}
