:root {
  --navy: #0d2b5e;
  --navy-deep: #071a38;
  --charcoal: #2f343a;
  --ink: #15191d;
  --muted: #68717b;
  --line: #d9dde2;
  --light: #e6e8eb;
  --paper: #ffffff;
  --panel: #f7f8fa;
  --accent: #178f8a;
  --accent-soft: #d9f0ee;
  --shadow: 0 22px 50px rgba(13, 43, 94, 0.14);
  --radius: 8px;
  --header-height: 74px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.05;
  font-weight: 720;
  letter-spacing: 0;
}

h1 {
  color: var(--paper);
  font-size: clamp(3.8rem, 12vw, 8.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
  max-width: 13ch;
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

p {
  color: var(--charcoal);
  font-size: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 221, 226, 0.86);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(21, 25, 29, 0.06);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 32px rgba(21, 25, 29, 0.08);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  height: 46px;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.86rem;
  font-weight: 680;
}

.site-nav a {
  color: inherit;
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("../assets/logos/website_hero_banner.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 26, 56, 0.9) 0%, rgba(13, 43, 94, 0.68) 46%, rgba(21, 25, 29, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 26, 56, 0.58), rgba(7, 26, 56, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 70px) 0 58px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero-tagline,
.hero-copy {
  color: var(--paper);
}

.hero-tagline {
  margin-top: 6px;
  font-size: clamp(1.35rem, 4vw, 2.7rem);
  font-weight: 640;
}

.hero-copy {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-size: 0.94rem;
  font-weight: 730;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 16px 32px rgba(23, 143, 138, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--paper);
}

.section,
.band,
.contact-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(42px, 7vw, 76px) 0;
}

.intro-grid p:last-child {
  align-self: end;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.section {
  padding: clamp(62px, 9vw, 118px) 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading h2 {
  max-width: 650px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(21, 25, 29, 0.02);
}

.capability-card p {
  color: var(--muted);
}

.card-index {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 780;
}

.split-band {
  background:
    linear-gradient(90deg, var(--panel) 0 42%, var(--paper) 42% 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-list {
  display: grid;
  gap: 10px;
}

.package-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.package-item:last-child {
  border-bottom: 1px solid var(--line);
}

.package-item p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
}

.package-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.core-section {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.core-lead {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 1.06rem;
}

.core-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.core-step {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.core-step p {
  color: var(--muted);
}

.core-detail-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.core-detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: grid;
  gap: 14px;
  align-content: start;
}

.core-detail-card p {
  color: var(--muted);
  line-height: 1.62;
}

.proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-badges span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--charcoal);
  font-size: 0.74rem;
  font-weight: 640;
  line-height: 1.2;
}

.core-detail-card p strong {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 1px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.core-detail-card p strong:first-child {
  margin-top: 0;
}

.core-actions {
  margin-top: 26px;
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.15fr);
  gap: clamp(30px, 7vw, 90px);
}

.sticky-heading {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.fit-list {
  display: grid;
  gap: 14px;
}

.fit-list p {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  background: var(--panel);
  color: var(--charcoal);
  font-size: 1.05rem;
}

.about-section {
  background: var(--navy-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.about-grid h2,
.about-grid p:not(.eyebrow) {
  color: var(--paper);
}

.about-grid p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.about-mark {
  width: min(250px, 60vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.about-mark img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.55);
}

.contact-section {
  padding: clamp(50px, 8vw, 92px) 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.contact-grid h2 {
  max-width: 850px;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.contact-actions p {
  margin: 0;
  color: var(--muted);
}

.email-link {
  color: var(--ink);
  font-weight: 720;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 360px));
  gap: 18px;
}

.team-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(21, 25, 29, 0.02);
}

.team-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.team-avatar {
  flex-shrink: 0;
  display: block;
  width: 250px !important;
  height: 250px !important;
  max-width: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--line);
}

.team-identity {
  display: grid;
  gap: 3px;
}

.team-creds {
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-name {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 720;
  color: var(--ink);
  line-height: 1.2;
}

.team-role {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 2px;
}

.team-bio {
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.65;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.team-tags span {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--charcoal);
  font-size: 0.76rem;
  font-weight: 640;
}

.site-footer {
  padding: 26px 0;
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    padding: 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }

  .nav-toggle-line {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 36px rgba(21, 25, 29, 0.1);
  }

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

  .site-nav a {
    padding: 13px 4px;
  }

  .nav-cta {
    min-height: 42px;
    margin-top: 8px;
    border-color: var(--navy);
    color: var(--navy);
  }

  .brand-logo {
    height: 30px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content {
    padding-bottom: 44px;
  }

  .intro-grid,
  .fit-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .core-detail-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.5rem);
  }

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

  .button {
    padding: 0 16px;
  }

  .capability-grid,
  .package-item {
    grid-template-columns: 1fr;
  }

  .core-steps {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
    padding: 22px;
  }

  .package-item {
    gap: 10px;
  }

  .fit-list p {
    min-height: auto;
  }
}
