:root {
  --page-blue: #075fca;
  --page-navy: #061f4d;
  --page-ink: #102b52;
  --page-muted: #61728a;
  --page-line: #dce7f5;
  --page-pale: #f2f7ff;
}

.inner-page {
  color: var(--page-ink);
  background: #f5f8fe;
}

.inner-page .site-header {
  background: rgba(248, 251, 255, .94);
}

.inner-page .desktop-nav a:first-child::after { display: none; }
.inner-page .desktop-nav a.active { color: var(--page-blue); }
.inner-page .desktop-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--page-blue);
}

.page-shell {
  width: 80%;
  margin: 0 auto;
}

.inner-page footer .container {
  width: 80%;
  max-width: none;
}

.page-banner {
  position: relative;
  height: 430px;
  padding-top: 68px;
  overflow: hidden;
  color: #fff;
  background: #061c40;
}

.page-banner > img {
  position: absolute;
  inset: 68px 0 0;
  width: 100%;
  height: 362px;
  object-fit: cover;
  object-position: center;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 68px 0 0;
  background: linear-gradient(90deg, rgba(3, 24, 58, .94), rgba(3, 35, 78, .72) 45%, rgba(4, 48, 99, .18));
}

.page-banner-copy {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.page-banner-copy .eyebrow {
  color: #72adff;
}

.page-banner h1 {
  margin: 12px 0 15px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.12;
}

.page-banner p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.8;
}

.page-section {
  padding: 78px 0;
}

.page-heading {
  margin-bottom: 38px;
}

.page-heading h2 {
  margin: 0 0 12px;
  color: var(--page-navy);
  font-size: 34px;
}

.page-heading p {
  margin: 0;
  color: var(--page-muted);
  font-size: 15px;
}

.news-featured {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(26, 70, 135, .1);
}

.news-featured > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.news-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.news-meta {
  color: var(--page-blue);
  font-size: 13px;
  font-weight: 700;
}

.news-featured h2 {
  margin: 14px 0 18px;
  color: var(--page-navy);
  font-size: 31px;
  line-height: 1.35;
}

.news-featured p,
.news-card p {
  color: var(--page-muted);
  line-height: 1.8;
}

.news-featured a,
.news-card a {
  margin-top: 20px;
  color: var(--page-blue);
  font-weight: 700;
}

.news-filter {
  display: flex;
  gap: 12px;
  margin: 44px 0 28px;
}

.news-filter button {
  min-width: 104px;
  padding: 11px 20px;
  border: 1px solid var(--page-line);
  border-radius: 999px;
  color: #39516f;
  background: #fff;
  cursor: pointer;
}

.news-filter button:hover,
.news-filter button.active {
  border-color: var(--page-blue);
  color: #fff;
  background: var(--page-blue);
}

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

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(33, 79, 142, .07);
}

.news-card[hidden] { display: none; }

.news-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.news-card h3 {
  margin: 10px 0;
  color: var(--page-navy);
  font-size: 21px;
  line-height: 1.45;
}

.news-card p {
  margin: 0;
  font-size: 14px;
}

.news-card a { margin-top: auto; padding-top: 22px; }

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 40px;
  align-items: stretch;
}

.contact-panel,
.contact-form-card {
  border: 1px solid var(--page-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(23, 71, 138, .08);
}

.contact-panel {
  padding: 38px;
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, #062b67, #075dc1);
}

.contact-panel h2,
.contact-form-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.contact-panel > p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
}

.contact-item img {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  filter: brightness(0) invert(1);
}

.contact-item strong,
.contact-item span { display: block; }
.contact-item span { margin-top: 4px; color: rgba(255, 255, 255, .78); line-height: 1.55; }

.contact-form-card {
  padding: 38px;
}

.contact-form-card > p {
  margin: 0 0 28px;
  color: var(--page-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2c4362;
  font-size: 14px;
  font-weight: 700;
}

.contact-form label.full { grid-column: 1 / -1; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfdbeb;
  border-radius: 7px;
  color: #19314f;
  background: #f9fbff;
  font: inherit;
}

.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-form button {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--page-blue);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover { background: #044fae; }

.contact-success {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 7px;
  color: #0a683b;
  background: #eaf9f1;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #e9f1fc;
}

.location-copy {
  padding: 46px;
  background: #fff;
}

.location-copy h2 {
  margin: 0 0 16px;
  color: var(--page-navy);
  font-size: 29px;
}

.location-copy p {
  margin: 8px 0;
  color: var(--page-muted);
  line-height: 1.75;
}

.location-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .page-shell,
  .inner-page footer .container { width: calc(100% - 40px); }
  .news-featured,
  .contact-layout,
  .location-card { grid-template-columns: 1fr; }
  .news-featured > img { height: 340px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-card > img { height: 300px; }
}

@media (max-width: 640px) {
  .page-shell,
  .inner-page footer .container { width: calc(100% - 28px); }
  .page-banner { height: 500px; padding-top: 62px; }
  .page-banner > img { inset: 62px 0 0; height: 438px; object-position: 65% center; }
  .page-banner::after { inset: 62px 0 0; background: rgba(3, 25, 58, .75); }
  .page-banner-copy { padding-top: 90px; }
  .page-banner h1 { font-size: 42px; }
  .page-banner p { font-size: 16px; }
  .page-section { padding: 55px 0; }
  .news-featured > img { height: auto; aspect-ratio: 16 / 9; }
  .news-featured-copy { padding: 28px; }
  .news-featured h2 { font-size: 25px; }
  .news-filter { overflow-x: auto; padding-bottom: 5px; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-panel,
  .contact-form-card,
  .location-copy { padding: 26px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label.full,
  .contact-form button,
  .contact-success { grid-column: auto; }
}
