* {
  box-sizing: border-box;
}

:root {
  --navy: #071221;
  --navy-2: #0c2038;
  --black: #07090c;
  --gold: #ffc400;
  --orange: #ff8500;
  --orange-2: #ff6a00;
  --blue: #0e63c9;
  --white: #ffffff;
  --muted: rgba(255,255,255,.76);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: #05080d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding: 38px 24px 46px;
  overflow: hidden;
  background:
    url("assets/patriotic-bg.svg") center center / cover no-repeat,
    var(--navy);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3,8,15,.20) 0%, rgba(3,8,15,.36) 48%, rgba(3,8,15,.78) 100%),
    radial-gradient(circle at 50% 38%, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 65%, rgba(0,0,0,.50) 100%);
}

.hero-content {
  width: min(1120px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo {
  width: clamp(170px, 18vw, 245px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.45));
  margin-bottom: 16px;
}

.heading-block {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 8px;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .82rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0,0,0,.38);
}

h1 span {
  display: inline-block;
  color: var(--orange);
}

.intro {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.portal-grid {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.portal-card {
  min-height: 310px;
  padding: 30px 30px 26px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portal-card:hover,
.portal-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  outline: none;
}

.employee-card {
  background: linear-gradient(150deg, rgba(6,10,14,.96), rgba(15,20,25,.91));
  border: 1px solid rgba(255,133,0,.68);
}

.employee-card:hover,
.employee-card:focus-visible {
  border-color: var(--orange);
}

.client-card {
  color: #0b1d34;
  background: linear-gradient(150deg, rgba(255,255,255,.97), rgba(241,245,251,.92));
  border: 1px solid rgba(255,255,255,.86);
}

.client-card:hover,
.client-card:focus-visible {
  border-color: rgba(79,153,255,.9);
}

.icon-wrap {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.icon-wrap svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.employee-card .icon-wrap {
  color: var(--orange);
}

.client-card .icon-wrap {
  color: #0d4f9f;
}

.portal-card h2 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.portal-card p {
  max-width: 340px;
  margin: 14px auto 24px;
  line-height: 1.55;
  opacity: .82;
}

.button-label {
  width: 100%;
  margin-top: auto;
  min-height: 58px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: filter .2s ease;
}

.portal-card:hover .button-label {
  filter: brightness(1.08);
}

.employee-card .button-label {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.client-card .button-label {
  color: #fff;
  background: linear-gradient(135deg, #1670d9, #074da5);
}

.values {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
}

.values div {
  padding: 15px 14px;
  background: rgba(5,10,16,.52);
}

.values strong,
.values span {
  display: block;
}

.values strong {
  color: var(--gold);
  text-transform: uppercase;
  font-size: .86rem;
  letter-spacing: .08em;
}

.values span {
  margin-top: 4px;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
}

footer {
  min-height: 72px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  color: rgba(255,255,255,.64);
  background: #05080d;
  border-top: 1px solid rgba(255,133,0,.55);
  font-size: .9rem;
}

.dot {
  color: var(--orange);
}

/* Tablet */
@media (max-width: 820px) {
  .hero {
    padding-top: 30px;
  }

  .portal-grid {
    width: min(690px, 100%);
  }

  .portal-card {
    min-height: 290px;
    padding: 25px 22px 22px;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
    width: min(690px, 100%);
  }
}

/* Mobile */
@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding: 26px 16px 30px;
    background-position: 44% center;
  }

  .brand-logo {
    width: 170px;
    margin-bottom: 14px;
  }

  .eyebrow {
    font-size: .68rem;
    letter-spacing: .14em;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  h1 span {
    display: block;
  }

  .intro {
    max-width: 440px;
    margin-top: 14px;
    font-size: .96rem;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 25px;
  }

  .portal-card {
    min-height: 0;
    padding: 21px 18px 18px;
    border-radius: 18px;
  }

  .icon-wrap {
    width: 52px;
    height: 52px;
  }

  .icon-wrap svg {
    width: 46px;
    height: 46px;
  }

  .portal-card h2 {
    font-size: 1.55rem;
  }

  .portal-card p {
    margin: 10px auto 18px;
    font-size: .92rem;
  }

  .button-label {
    min-height: 52px;
    font-size: .96rem;
  }

  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }

  .values div {
    padding: 12px 8px;
  }

  footer {
    min-height: 64px;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    font-size: .78rem;
  }

  footer .dot {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-inline: 12px;
  }

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

  .values span {
    font-size: .72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
