:root {
  /* Brand palette from logo files (234404282) */
  --navy: #2d4059;
  --navy-dark: #243348;
  --yellow: #ffd460;
  --yellow-light: #ffe9a3;
  --yellow-dark: #e6bb4a;
  --text-muted: #5a6878;
  --grey-light: #f4f5f7;
  --white: #ffffff;
  --text: var(--navy);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(45, 64, 89, 0.08);
  --shadow-hover: 0 12px 32px rgba(45, 64, 89, 0.12);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 64, 89, 0.06);
  transition: box-shadow 0.2s;
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--yellow-dark);
}

.nav-link-cta {
  padding: 0.5rem 1.125rem;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.nav-link-cta:hover {
  background: var(--navy-dark);
  color: var(--yellow);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  padding: calc(var(--header-h) + 4rem) 1.5rem 5rem;
  background: linear-gradient(165deg, var(--yellow) 0%, var(--yellow-light) 45%, var(--white) 100%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-label {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 540px;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--navy);
  color: var(--yellow);
  box-shadow: 0 4px 16px rgba(45, 64, 89, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 64, 89, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
  border: 1px solid rgba(45, 64, 89, 0.12);
}

.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.hero-partners {
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 64, 89, 0.1);
}

.hero-partners-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.partner-logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo-aws {
  mix-blend-mode: multiply;
}

/* Sections */

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-title-light {
  color: var(--white);
}

.section-lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-dark);
}

.section-eyebrow-light {
  color: var(--yellow);
  opacity: 0.85;
}

/* Services */

.services {
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-light) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 212, 96, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.services .section-inner {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  padding: 1.75rem 1.75rem 1.875rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 64, 89, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 212, 96, 0.5);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--yellow);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.service-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(45, 64, 89, 0.2);
  line-height: 44px;
}

.service-card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.service-card-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent;
}

.service-card-featured:hover {
  border-color: rgba(255, 212, 96, 0.35);
}

.service-card-featured .service-icon {
  background: var(--yellow);
  color: var(--navy);
}

.service-card-featured .service-num {
  color: rgba(255, 212, 96, 0.35);
}

.service-card-featured h3 {
  color: var(--white);
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 212, 96, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(255, 212, 96, 0.25);
}

/* Team */

.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(45, 64, 89, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 212, 96, 0.45);
}

.team-card-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent;
}

.team-card-featured:hover {
  border-color: rgba(255, 212, 96, 0.35);
}

.team-photo-wrap {
  width: 96px;
  height: 96px;
  margin-bottom: 1.25rem;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--yellow) 0%, var(--yellow-dark) 100%);
}

.team-photo-wrap-ai {
  background: rgba(255, 212, 96, 0.35);
}

.team-photo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
}

.team-avatar-ai {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.team-name {
  margin: 0 0 0.25rem;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.team-card-featured .team-name {
  color: var(--white);
}

.team-role {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.team-card-featured .team-role {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--grey-light);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.team-link:hover {
  background: var(--navy);
  color: var(--yellow);
  transform: translateY(-1px);
}

.team-link span {
  transition: transform 0.2s;
}

.team-link:hover span {
  transform: translateX(3px);
}

.team-tag {
  display: inline-block;
  margin-top: auto;
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--yellow);
  background: rgba(255, 212, 96, 0.15);
  border: 1px solid rgba(255, 212, 96, 0.25);
  border-radius: 999px;
}

/* Contact */

.contact {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255, 212, 96, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem;
}

.contact-header {
  margin-bottom: 2.5rem;
}

.contact-lead {
  margin: 0 auto;
  max-width: 420px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 100%;
  padding: 1.125rem 1.5rem 1.125rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 212, 96, 0.2);
  border-radius: var(--radius-lg);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.contact-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 212, 96, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--yellow);
  color: var(--navy);
  border-radius: var(--radius);
}

.contact-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.contact-cta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.125rem;
}

.contact-cta-email {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  word-break: break-all;
}

.contact-cta-arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--yellow);
  transition: transform 0.25s;
}

.contact-cta:hover .contact-cta-arrow {
  transform: translateX(4px);
}

/* Footer */

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 212, 96, 0.12);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-brand:hover {
  opacity: 0.85;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-company,
.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-copy a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copy a:hover {
  color: var(--white);
}

/* Responsive */

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .contact-cta {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid rgba(45, 64, 89, 0.08);
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }

  .nav-link:hover {
    background: var(--grey-light);
  }

  .nav-link-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-nav {
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}
