:root {
  --ink: #082640;
  --ink-2: #12395d;
  --muted: #66717c;
  --paper: #f6f8fa;
  --white: #ffffff;
  --line: #d7e0ea;
  --teal: #006fae;
  --teal-dark: #004b7c;
  --navy: #082640;
  --navy-2: #0d3558;
  --navy-3: #061c31;
  --gold: #9fc7ec;
  --rust: #4d5862;
  --shadow: 0 20px 60px rgba(37, 40, 43, 0.16);
  --max-width: 1160px;
  --header-height: 110px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(246, 248, 250, 0.92);
  border-bottom: 1px solid rgba(215, 224, 234, 0.86);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 248, 250, 0.98);
  box-shadow: 0 8px 30px rgba(37, 40, 43, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  min-width: 0;
}

.brand-logo {
  width: 88px;
  height: 88px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(37, 40, 43, 0.1);
}

.brand-text {
  display: grid;
  gap: 5px;
  width: clamp(240px, 24.5vw, 320px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 100%;
}

.brand-line span {
  letter-spacing: 0.13em;
}

.brand-line-top {
  color: var(--teal-dark);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 900;
}

.brand-line-bottom {
  color: #111820;
  font-size: clamp(0.72rem, 1.12vw, 0.96rem);
  font-weight: 900;
}

.brand-gap {
  flex: 0 0 0.55em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--ink-2);
  font-size: 1.15rem;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.primary-nav .nav-call {
  padding: 10px 16px;
  border: 1px solid rgba(0, 111, 174, 0.3);
  border-radius: 999px;
  background: rgba(0, 111, 174, 0.08);
  color: var(--teal-dark);
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.primary-nav .nav-call::after {
  display: none;
}

.primary-nav .nav-call:hover,
.primary-nav .nav-call:focus-visible {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}

.primary-nav .nav-login {
  padding: 10px 16px;
  border: 1px solid rgba(0, 111, 174, 0.24);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(8, 38, 64, 0.18);
}

.primary-nav .nav-job-board,
.primary-nav .nav-login-secondary {
  border-color: rgba(0, 111, 174, 0.62);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0, 111, 174, 0.22);
}

.primary-nav .nav-login::after {
  display: none;
}

.primary-nav .nav-login:hover,
.primary-nav .nav-login:focus-visible {
  background: var(--teal-dark);
  text-decoration: none;
}

.primary-nav .nav-job-board:hover,
.primary-nav .nav-job-board:focus-visible,
.primary-nav .nav-login-secondary:hover,
.primary-nav .nav-login-secondary:focus-visible {
  background: var(--teal-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 82svh, 780px);
  display: grid;
  align-items: end;
  gap: 32px;
  padding: clamp(72px, 12vh, 130px) clamp(18px, 4vw, 54px) clamp(30px, 5vw, 54px);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 22%, rgba(0, 111, 174, 0.42), transparent 34%),
    linear-gradient(130deg, var(--navy-3) 0%, var(--navy) 48%, var(--teal-dark) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: clamp(58px, 7vw, 100px);
  right: clamp(-170px, -3vw, -20px);
  width: clamp(430px, 56vw, 820px);
  aspect-ratio: 1;
  background: url("assets/ses-round-logo.png") center / contain no-repeat;
  opacity: 0.48;
  filter: brightness(1.85) saturate(1.28);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: clamp(1.18rem, 1.65vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 1050px;
  font-size: clamp(2.85rem, 5vw, 4.15rem);
  font-weight: 800;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 4.6vw, 4.45rem);
}

h3 {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-copy {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button-phone {
  background: var(--navy);
  border-color: rgba(159, 199, 236, 0.46);
  box-shadow: 0 12px 26px rgba(8, 38, 64, 0.22);
  white-space: nowrap;
}

.button-phone:hover,
.button-phone:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), 100%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(6, 28, 49, 0.76);
  backdrop-filter: blur(8px);
}

.hero-metrics dt {
  font-size: clamp(1.35rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.capability-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--ink-2);
  border-right: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}

.capability-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 4vw, 54px);
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
}

.services-section {
  position: relative;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
  min-height: clamp(980px, 104vw, 1240px);
  background:
    linear-gradient(90deg, rgba(246, 248, 250, 0.1) 0%, rgba(246, 248, 250, 0.08) 42%, rgba(246, 248, 250, 0.76) 68%, rgba(246, 248, 250, 0.9) 100%),
    url("assets/ses-services-background.png") center 45% / cover no-repeat;
}

.services-section,
.services-section p,
.services-section li,
.services-section h2,
.services-section h3 {
  font-weight: 800;
}

.services-section .section-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - clamp(36px, 8vw, 108px)));
}

.services-layout {
  min-height: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.services-panel {
  width: min(560px, 100%);
  padding: clamp(18px, 2.8vw, 34px) 0 clamp(28px, 4vw, 48px);
  text-align: right;
}

.services-panel .section-heading {
  margin-bottom: clamp(24px, 4vw, 38px);
}

.services-panel .section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.services-panel .section-heading p:not(.eyebrow) {
  color: var(--teal-dark);
  font-size: 1rem;
}

.section-split {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: clamp(34px, 6vw, 64px);
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.service-groups {
  display: grid;
  gap: 16px;
}

.service-group {
  padding-top: 15px;
  border-top: 1px solid rgba(0, 75, 124, 0.22);
}

.service-group h3 {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.service-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-group li {
  position: relative;
  padding-right: 24px;
  color: #111820;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.service-group li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  right: 0;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #111820;
}

.service-group li::after {
  content: "";
  position: absolute;
  top: 0.43em;
  right: 0;
  width: 2px;
  height: 9px;
  border-radius: 999px;
  background: #111820;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.work-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.work-item span {
  align-self: start;
  padding: 8px 10px;
  color: var(--teal-dark);
  border: 1px solid rgba(31, 130, 119, 0.3);
  border-radius: 999px;
  background: rgba(31, 130, 119, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.process-list li {
  min-height: 250px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--navy-2);
  border-top: 5px solid var(--teal);
}

.process-list strong {
  color: var(--white);
  font-size: 1.3rem;
}

.process-list span {
  color: rgba(255, 255, 255, 0.72);
}

.credentials-image-section {
  padding: 0;
  background: var(--white);
  line-height: 0;
}

.credentials-image-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.credentials-image-wrap img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.section-contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-copy address {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-2);
  font-style: normal;
  font-weight: 400;
}

.contact-copy address span {
  color: var(--muted);
  font-weight: 700;
}

.contact-copy address strong {
  color: var(--ink);
  font-weight: 800;
}

.contact-address {
  font-weight: 400;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 12px;
  padding: 11px 18px;
  border: 1px solid rgba(0, 111, 174, 0.18);
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(8, 38, 64, 0.16);
}

.contact-phone:hover,
.contact-phone:focus-visible {
  background: var(--teal-dark);
  text-decoration: none;
}

.contact-email {
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 500;
}

.license-panel {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.license-panel h3 {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.license-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.license-panel div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
}

.license-panel dt,
.license-panel dd {
  margin: 0;
}

.license-panel dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.license-panel dd {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d2cc;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(31, 130, 119, 0.18);
  border-color: var(--teal);
}

.contact-form .button {
  width: 100%;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-3);
}

.site-footer p {
  margin: 0;
}

.footer-licenses {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

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

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    margin-bottom: 28px;
  }

  .services-section {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(246, 248, 250, 0.86), rgba(246, 248, 250, 0.62)),
      url("assets/ses-services-background.png") center 45% / cover no-repeat;
  }

  .services-layout {
    display: block;
    min-height: auto;
  }

  .services-panel {
    width: min(620px, 100%);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 88px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-text {
    width: min(250px, calc(100vw - 164px));
    max-width: calc(100vw - 164px);
    overflow: hidden;
    white-space: nowrap;
    transform: translateX(10px);
  }

  .brand-line-top {
    font-size: 1.52rem;
  }

  .brand-line-bottom {
    font-size: 0.66rem;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(29, 40, 38, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .nav-open .primary-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav .nav-call {
    margin-top: 10px;
    padding: 14px 16px;
    border: 0;
    border-radius: 6px;
    background: var(--teal);
    color: var(--white);
    text-align: center;
  }

  .primary-nav .nav-login {
    margin-top: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 6px;
    text-align: center;
  }

  .hero {
    min-height: 82svh;
    padding: 58px 16px 24px;
    background-position: 62% center;
  }

  .hero .eyebrow {
    font-size: clamp(0.74rem, 3.35vw, 1.05rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero::after {
    top: 82px;
    right: -170px;
    width: min(112vw, 520px);
    opacity: 0.36;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-metrics,
  .capability-strip,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 16px;
  }

  .capability-strip span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-item span {
    justify-self: start;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-phone {
    width: min(100%, 330px);
  }

  .license-panel div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .license-panel dd {
    white-space: normal;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .services-panel {
    padding-block: 18px;
  }
}
