:root {
  --ink: #00173c;
  --muted: #53667d;
  --line: #d5e4f2;
  --paper: #f5f9fd;
  --white: #ffffff;
  --cyan: #23adff;
  --sky: #55c5ff;
  --blue: #1767c9;
  --blue-dark: #072f7b;
  --navy: #00112f;
  --slate: #182837;
  --shadow: 0 24px 70px rgba(0, 23, 60, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(213, 228, 242, 0.9);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(21, 32, 41, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(190px, 18vw, 276px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
}

.header-cta {
  color: var(--white);
  background: var(--navy);
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 92px) clamp(20px, 4vw, 56px) clamp(30px, 5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(35, 173, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.hero-copy {
  max-width: 740px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.5rem, 9vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 670px;
  margin: 28px 0;
  color: #41566f;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: #aab9b6;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 42px 0 0;
}

.proof-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-strip dt {
  font-size: 1.2rem;
  font-weight: 800;
}

.proof-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  margin: 0;
  filter: drop-shadow(var(--shadow));
}

.intro-band {
  padding: clamp(34px, 6vw, 56px) clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #053175 56%, var(--blue));
}

.intro-band p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.18;
  font-weight: 700;
}

.section,
.split-section,
.product-section,
.contact-section {
  padding:  clamp(32px, 5vw, 70px)  clamp(20px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.service-card {
  min-height: 280px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-index {
  color: var(--blue);
  font-weight: 800;
}

.service-card p,
.split-copy p,
.product-copy p,
.timeline p,
.logo-tile p,
.client-card p,
.team-card p,
.contact-section p,
.metric-panel p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #eaf5ff;
}

.split-copy {
  max-width: 760px;
}

.split-copy > p {
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 4px #d9f2ff;
}

.metric-panel {
  display: grid;
  gap: 14px;
}

.metric-panel div {
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0a347a);
  border-radius: 8px;
}

.metric-panel span {
  color: var(--sky);
  font-weight: 800;
}

.metric-panel strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.18rem;
}

.metric-panel p {
  margin: 0;
  color: #d6e8f7;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: top;
}

.product-copy {
  max-width: 600px;
}

.amun-wordmark {
  width: min(360px, 100%);
  height: auto;
  margin: 0 0 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-shell {
  overflow: hidden;
  background: #071120;
  border: 1px solid #183b6a;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.amun-logo-card {
  margin: 0;
  background: #101316;
  border-bottom: 1px solid #183b6a;
}

.amun-logo-card img {
  width: 100%;
  height: clamp(180px, 28vw, 300px);
  object-fit: cover;
  object-position: left center;
}

.product-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: #dbeafb;
  border-bottom: 1px solid #183b6a;
}

.product-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23adff;
}

.product-toolbar span:nth-child(2) {
  background: #1767c9;
}

.product-toolbar span:nth-child(3) {
  background: #55c5ff;
}

.product-toolbar strong {
  margin-left: 8px;
}

.product-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 360px;
}

.product-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  color: #a9bed5;
  border-right: 1px solid #183b6a;
}

.product-sidebar span {
  padding: 8px 10px;
  border-radius: 8px;
}

.product-sidebar .active {
  color: var(--white);
  background: #0c377c;
}

.product-main {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.search-row,
.result-row {
  border-radius: 8px;
}

.search-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 10px;
  color: #a9bed5;
  background: #0d2341;
}

.search-row button {
  min-width: 72px;
  color: var(--navy);
  background: var(--cyan);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.result-row {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--white);
  background: #0d274e;
  border: 1px solid #174d91;
}

.result-row span {
  color: #a9bed5;
  font-size: 0.92rem;
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 26px;
  background: #f2f8ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  color: var(--blue-dark);
  font-size: 1.16rem;
  font-weight: 800;
}

.partners-section {
  background: #eef7ff;
}

.logo-grid,
.client-grid,
.team-grid {
  display: grid;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-tile,
.client-card,
.team-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 23, 60, 0.07);
}

.logo-tile span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue-dark);
  background: #e2f3ff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.logo-tile strong {
  display: block;
  margin: 22px 0 8px;
  font-size: 1.15rem;
}

.clients-section {
  background: var(--white);
}

.client-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-card {
  min-height: 190px;
}

.team-section {
  background: var(--paper);
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  min-height: 250px;
}

/* Ensures the avatar container has a set shape and hides any image overflow */
.avatar {
  width: 120px;          /* Adjust this size to match your design */
  height: 120px;         /* Keeps it a perfect square */
  border-radius: 50%;    /* Makes the container a circle (remove if you want square photos) */
  overflow: hidden;      /* Clips the image to the circle/square boundaries */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;   /* Spacing between image and the name/title */
}

/* Forces the image to fill the container nicely without distorting */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Crops and scales the image perfectly like a background-image */
  object-position: center; /* Centers the face/content of the photo */
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 6vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
}

.contact-section .eyebrow,
.contact-section p {
  color: #d8eafe;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-style: normal;
}

.contact-details span,
.contact-details a {
  color: #ffffff;
}

.contact-details span:first-child {
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #394952;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cbdced;
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 56px);
  color: #cbd8da;
  background: #030b1c;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer div:last-child {
  text-align: right;
}

.site-footer span:first-child,
.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .split-section,
  .product-section,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

  .service-grid,
  .timeline,
  .logo-grid,
  .client-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 100%;
  }

  .main-nav {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-strip,
  .product-body {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #183b6a;
  }

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

  .site-footer div:last-child {
    text-align: left;
  }
}
