:root {
  --navy: #17233a;
  --blue: #2364aa;
  --red: #b73535;
  --ink: #182033;
  --muted: #5c6473;
  --line: #d9dee8;
  --paper: #f6f7f9;
  --white: #ffffff;
  --gold: #d9a441;
  --shadow: 0 18px 45px rgba(18, 31, 53, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-bottom: 4px solid var(--red);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy);
  background: #edf1f7;
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 80px clamp(20px, 6vw, 80px);
  color: var(--white);
  background-image: url("https://images.unsplash.com/photo-1560264280-88b68371db39?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 22, 41, 0.86), rgba(11, 22, 41, 0.52), rgba(11, 22, 41, 0.22));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 660px;
  color: #e9edf4;
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
}

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

.section {
  padding: 82px clamp(20px, 6vw, 80px);
}

.intro-grid,
.story,
.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.mission-panel {
  padding: 34px;
  color: var(--white);
  background: var(--navy);
  border-left: 8px solid var(--red);
  box-shadow: var(--shadow);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  line-height: 1.25;
}

.service-band,
.values-band {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(28, 40, 63, 0.08);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding-inline: 22px;
}

.service-card h3 {
  padding-top: 20px;
}

.service-card p {
  padding-bottom: 24px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split.reverse .split-image {
  order: 2;
}

.split-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.page-hero {
  min-height: 430px;
  display: flex;
  align-items: end;
  padding: 90px clamp(20px, 6vw, 80px) 70px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1000px rgba(11, 22, 41, 0.58);
}

.page-hero div {
  max-width: 860px;
}

.page-hero h1,
.page-hero p:not(.eyebrow) {
  color: var(--white);
}

.about-hero {
  background-image: url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1800&q=85");
}

.apply-hero {
  background-image: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85");
}

.story-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.values article {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border-top: 5px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(28, 40, 63, 0.08);
}

.values p,
.apply-info p,
.check-list {
  color: var(--muted);
}

.apply-info {
  position: sticky;
  top: 96px;
  padding: 32px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.check-list {
  margin: 20px 0 0;
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 8px;
}

.application-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 800;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #c6cedb;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(35, 100, 170, 0.2);
  border-color: var(--blue);
}

.checkbox-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-button {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.footer {
  padding: 28px clamp(20px, 6vw, 80px);
  color: #dfe5ef;
  background: var(--navy);
}

.footer p {
  margin: 0;
}

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

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

  .hero {
    min-height: 620px;
  }

  .intro-grid,
  .story,
  .application-layout,
  .split,
  .services,
  .values,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-image {
    order: 0;
  }

  .apply-info {
    position: static;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 0.92rem;
  }

  .hero,
  .page-hero {
    padding-inline: 18px;
  }

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

  .section {
    padding: 58px 18px;
  }

  .mission-panel,
  .application-form,
  .apply-info {
    padding: 24px;
  }

  .split-image {
    min-height: 300px;
  }
}
