:root {
  --bg: #dfeaf4;
  --bg-deep: #c5d7e7;
  --bg-soft: #edf4fa;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(245, 250, 255, 0.94);
  --text: #1b2a38;
  --muted: #506273;
  --line: #bfd0df;
  --line-soft: #d7e4ee;
  --brand: #2f5f8a;
  --brand-dark: #1f4261;
  --brand-soft: #6e91af;
  --link: #2e5d86;
  --footer-bg: #234561;
  --footer-text: #f2f7fb;
  --footer-muted: #d0dce8;
  --container: 1140px;
  --radius: 4px;
  --shadow-soft: 0 10px 28px rgba(25, 58, 89, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 38%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul {
  margin: 0;
  padding-left: 20px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(191, 208, 223, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(23, 55, 84, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-title {
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--brand-soft);
  font-size: 1rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  color: var(--brand);
  font-size: 1rem;
}

.main-nav a[aria-current="page"] {
  font-weight: 700;
}

.hero-image-section {
  padding: 22px 0 0;
}

.hero-image-frame {
  overflow: hidden;
  border: 1px solid rgba(191, 208, 223, 0.9);
  background: linear-gradient(180deg, #eef5fb 0%, #d8e7f3 100%);
  box-shadow: var(--shadow-soft);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.content-section {
  padding: 34px 0;
}

.commitment-section {
  padding-top: 28px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 1.125rem;
  font-weight: 700;
}

.main-title {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
}

.lead-text {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.125rem;
}

.commitment-meta {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.meta-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(29, 61, 92, 0.05);
}

.meta-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-item strong {
  color: var(--brand-dark);
  font-size: 1.05rem;
}

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

.section-title {
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 700;
}

.services-grid,
.jobs-grid,
.team-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

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

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


.services-banner {
  margin-bottom: 20px;
}

.service-banner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(29, 61, 92, 0.05);
}

.service-banner-box strong {
  display: block;
  width: 100%;
  color: var(--brand-dark);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

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

.service-card {
  height: 100%;
}

.service-card--compact {
  display: flex;
  align-items: flex-start;
}

.plain-block {
  padding: 24px;
  border: 1px solid rgba(191, 208, 223, 0.9);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(23, 55, 84, 0.06);
}

.plain-block h2,
.plain-block h3,
.job-title {
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.plain-block h2 {
  font-size: 1.35rem;
}

.team-block {
  display: flex;
  flex-direction: column;
}

.team-photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  margin-bottom: 18px;
  border: 1px solid rgba(120, 153, 184, 0.55);
  background: linear-gradient(180deg, rgba(223, 235, 245, 0.95) 0%, rgba(201, 220, 236, 0.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.team-photo-slot span {
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-photo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.job-title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.block-subtitle {
  margin-bottom: 10px;
  color: var(--brand);
  font-weight: 700;
}

.plain-block p,
.plain-block li {
  color: var(--muted);
}

.plain-block li + li {
  margin-top: 6px;
}

.resume-box {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(233, 242, 250, 0.98) 100%);
  box-shadow: 0 8px 24px rgba(23, 55, 84, 0.06);
  text-align: center;
}

.resume-link {
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
}

.jobs-section {
  padding-top: 28px;
}

.team-section {
  padding-top: 14px;
}

.site-footer {
  margin-top: 12px;
  padding: 34px 0 42px;
  background: linear-gradient(180deg, #2c5375 0%, var(--footer-bg) 100%);
}

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

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--footer-text);
  font-size: 1.1rem;
}

.footer-list {
  list-style: none;
  padding-left: 0;
}

.footer-list li {
  color: var(--footer-muted);
}

.footer-list li + li {
  margin-top: 9px;
}

.footer-list a,
.footer-list span {
  color: var(--footer-muted);
}

.footer-list a:hover {
  color: var(--footer-text);
}

.main-nav a:focus-visible,
.brand:focus-visible,
.footer-list a:focus-visible,
.resume-link:focus-visible {
  outline: 2px solid #7ea0bd;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .services-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .team-grid,
  .footer-grid,
  .commitment-meta {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 1.7rem;
  }

  .main-nav {
    gap: 12px 18px;
  }

  .plain-block,
  .resume-box {
    padding: 20px;
  }
}

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