:root {
  --ink: #082745;
  --blue: #063d73;
  --bright: #0797d8;
  --soft: #eef8fc;
  --line: #c8e4f1;
  --white: #ffffff;
  --muted: #5c6f7f;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: anywhere;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 9px 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--blue);
}

.portal-link {
  color: var(--white);
  background: var(--bright);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 64px);
  background: linear-gradient(90deg, #ffffff 0%, #f3fbff 100%);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

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

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  color: var(--blue);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 20px;
  color: #213c53;
  overflow-wrap: break-word;
}

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

.button,
.contact-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--blue);
  text-align: center;
}

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

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

.hero-image {
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 28px;
  background: var(--bright);
  opacity: 0.16;
}

.hero-image img,
.image-panel img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.intro-band {
  background: var(--blue);
  color: var(--white);
  padding: 18px clamp(18px, 5vw, 64px);
}

.intro-band div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-band span {
  text-align: center;
  font-weight: 800;
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

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

.section p {
  max-width: 720px;
  font-size: 18px;
  color: #284156;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-left: 5px solid var(--bright);
  background: var(--soft);
  font-weight: 800;
}

.image-panel {
  margin: 0;
}

.work-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 620px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.showcase-copy {
  max-width: 640px;
}

.showcase-controls {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.slider-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--white);
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
}

.photo-slider {
  position: relative;
  min-height: 520px;
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.slide figcaption {
  padding: 13px 16px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.social-proof {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 64px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-heading {
  max-width: 900px;
}

.proof-scroller {
  display: grid;
  grid-auto-columns: minmax(260px, 360px);
  grid-auto-flow: column;
  gap: 16px;
  margin-top: 28px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.proof-card {
  min-height: 230px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.proof-card span {
  color: var(--bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-card strong {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.1;
}

.proof-card p {
  margin: 16px 0 0;
  color: #284156;
}

.facebook-cta {
  margin-top: 16px;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 36px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background: var(--blue);
}

.contact-section h2,
.contact-section .eyebrow,
.contact-section p {
  color: var(--white);
}

.contact-card {
  flex: 1 1 250px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: var(--white);
  color: var(--blue);
}

.contact-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  background: #031b30;
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 560px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 64px);
  background: linear-gradient(90deg, #ffffff 0%, #f3fbff 100%);
}

.contact-page-copy {
  max-width: 680px;
}

.contact-page-copy .button {
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

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

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

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 14px 16px;
  border-left: 5px solid var(--bright);
  background: var(--soft);
}

.form-status ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.form-status.success {
  border-color: #168a4a;
}

.form-status.error {
  border-color: #b83232;
}

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

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .work-showcase,
  .service-area,
  .contact-section,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .intro-band div,
  .check-list,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 14px;
  }

  .brand strong {
    font-size: 16px;
    line-height: 1.25;
  }

  .brand small {
    font-size: 12px;
    line-height: 1.35;
  }

  nav {
    width: 100%;
    gap: 6px;
  }

  nav a {
    padding: 8px 8px;
    font-size: 15px;
  }

  .hero {
    padding-top: 42px;
    width: 100%;
    max-width: 100vw;
  }

  .hero-copy,
  .hero-image,
  .work-showcase > *,
  .section > *,
  .contact-section > *,
  .contact-page > * {
    width: 100%;
    max-width: min(100%, 340px);
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-card {
    width: 100%;
  }

  .hero-image::before {
    inset: 18px -12px -12px 18px;
  }

  .photo-slider {
    min-height: 420px;
  }

  .slide img {
    min-height: 360px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 34px;
  }
}
