/* Final PSG v12 layout layer. Loaded after styles.css on purpose. */
.login-screen {
  min-height: 100vh;
  overflow: hidden;
  color: #eef3f6;
  background:
    radial-gradient(circle at 88% 7%, rgba(205, 166, 83, 0.12), transparent 24%),
    #071019;
}

body.entry-panel-open {
  overflow: hidden;
}

.entry-page {
  min-height: 100vh;
}

.public-entry-page {
  position: relative;
  transform-origin: left center;
  transition: transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 520ms ease, filter 680ms ease;
}

.login-entry-page {
  position: fixed;
  z-index: 80;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(104%, 0, 0);
  background: #071019;
  box-shadow: -34px 0 90px rgba(0, 0, 0, 0.52);
  transition:
    transform 720ms cubic-bezier(0.22, 0.76, 0.16, 1),
    opacity 360ms ease,
    visibility 0s linear 720ms;
}

.login-screen.entry-panel-open .public-entry-page {
  pointer-events: none;
  opacity: 0.26;
  transform: translate3d(-7%, 0, 0) scale(0.975);
  filter: saturate(0.55) blur(3px);
}

.login-screen.entry-panel-open .login-entry-page {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.login-entry-page::before {
  position: fixed;
  z-index: 7;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #cda653 22%, #efd17b 50%, #cda653 78%, transparent);
  box-shadow: 0 0 26px rgba(205, 166, 83, 0.28);
  content: "";
}

.login-entry-header {
  position: absolute;
  z-index: 12;
  top: 28px;
  right: clamp(24px, 4vw, 64px);
}

.login-entry-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(205, 166, 83, 0.34);
  border-radius: 14px 4px 4px 14px;
  color: #dfc779;
  background: rgba(8, 20, 29, 0.82);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.login-entry-back span {
  font-size: 17px;
  transition: transform 160ms ease;
}

.login-entry-back:hover span {
  transform: translateX(-4px);
}

.login-entry-page .login-access-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.login-entry-page .login-panel {
  min-height: 100svh;
}

.public-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 72px, 1360px);
  min-height: 92px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(143, 160, 175, 0.16);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  height: 78px;
}

.public-brand img {
  width: 144px;
  height: 74px;
  object-fit: contain;
}

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

.public-nav a {
  color: #a9bac8;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 160ms ease;
}

.public-nav a:hover {
  color: #fff;
}

.public-nav .public-login-link {
  padding: 12px 18px;
  border: 1px solid rgba(205, 166, 83, 0.48);
  border-radius: 4px 13px 13px 4px;
  color: #f0d27c;
}

.public-intro {
  position: relative;
  z-index: 1;
}

.public-hero,
.public-section {
  width: min(100% - 72px, 1360px);
  margin-inline: auto;
}

.public-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: min(900px, 100svh);
  padding: 144px 0 70px;
}

.public-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 166, 83, 0.42), rgba(143, 160, 175, 0.12), transparent);
  content: "";
}

.public-overline {
  margin: 0 0 18px;
  color: #d4aa4c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.public-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.public-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #f5f7f8;
  font-size: clamp(48px, 5.8vw, 86px);
  font-weight: 850;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.public-hero-copy h1 em {
  color: #e6c46e;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.public-hero-copy > p:not(.public-overline) {
  max-width: 660px;
  margin: 30px 0 0;
  color: #9fb4c4;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.75;
}

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

.public-primary-action,
.public-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px 14px 14px 4px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.public-primary-action {
  color: #071019;
  background: linear-gradient(105deg, #efd582, #bd8729);
}

.public-secondary-action {
  border: 1px solid rgba(143, 160, 175, 0.26);
  color: #dce5eb;
  background: rgba(13, 28, 39, 0.58);
}

.public-hero-visual {
  position: relative;
  min-height: 540px;
  margin-left: -36px;
  background:
    linear-gradient(rgba(143, 160, 175, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 160, 175, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(100deg, transparent 2%, #000 32%, #000 78%, transparent 100%);
}

.public-hero-visual::before,
.public-hero-visual::after {
  position: absolute;
  border: 1px solid rgba(205, 166, 83, 0.21);
  border-radius: 50%;
  content: "";
}

.public-hero-visual::before {
  inset: 58px 12px 48px 55px;
}

.public-hero-visual::after {
  inset: 128px 82px 118px 125px;
  border-color: rgba(143, 160, 175, 0.16);
}

.hero-scope {
  position: absolute;
  inset: 50% auto auto 54%;
  z-index: 2;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid #d0a74e;
}

.hero-scope span {
  position: absolute;
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, rgba(205, 166, 83, 0.45), transparent);
}

.hero-scope span:nth-child(1) { top: 7px; left: 15px; }
.hero-scope span:nth-child(2) { top: 15px; left: 7px; transform: rotate(90deg); transform-origin: left; }
.hero-scope span:nth-child(3) { right: 15px; bottom: 7px; transform: rotate(180deg); }

.hero-command-card {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 20%;
  width: 250px;
  padding: 22px 24px;
  border: 1px solid rgba(143, 160, 175, 0.2);
  border-left: 3px solid #cda653;
  border-radius: 3px 16px 16px 3px;
  background: rgba(9, 22, 32, 0.9);
}

.hero-command-card small,
.hero-command-card p {
  color: #7f97a8;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-command-card strong {
  display: block;
  margin: 7px 0;
  color: #f0cf75;
  font-size: 23px;
}

.hero-command-card p { margin: 0; letter-spacing: 0; }

.hero-signal {
  position: absolute;
  top: 22%;
  left: 11%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8ca3b4;
  font-size: 11px;
}

.hero-signal i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #56d59c;
  box-shadow: 0 0 16px rgba(86, 213, 156, 0.72);
}

.public-section {
  padding-block: clamp(86px, 10vw, 148px);
}

.public-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
}

.public-section-heading h2,
.location-copy h2,
.login-access-heading h2 {
  margin: 0;
  color: #f1f4f6;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.public-section-heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  color: #8fa5b5;
  line-height: 1.7;
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.service-card {
  position: relative;
  min-height: 300px;
  margin-left: -1px;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid rgba(143, 160, 175, 0.17);
  background: linear-gradient(145deg, rgba(17, 36, 49, 0.78), rgba(9, 22, 32, 0.66));
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-card:first-child { margin-left: 0; border-radius: 16px 0 0 16px; }
.service-card:last-child { border-radius: 0 16px 16px 0; }
.service-card:nth-child(even) { transform: translateY(20px); }

.service-card:hover {
  z-index: 3;
  border-color: rgba(205, 166, 83, 0.55);
  background: #122532;
}

.service-card:nth-child(even):hover { transform: translateY(14px); }
.service-card:nth-child(odd):hover { transform: translateY(-6px); }

.service-card-featured {
  background: linear-gradient(150deg, rgba(205, 166, 83, 0.15), rgba(10, 24, 34, 0.82));
}

.service-number {
  color: #647c8e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 68px 0 20px;
  border: 1px solid rgba(205, 166, 83, 0.38);
  border-radius: 3px 12px 12px 3px;
  color: #e0bd63;
  background: rgba(205, 166, 83, 0.07);
}

.service-card h3 {
  margin: 0 0 12px;
  color: #f1f4f6;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  color: #89a0b0;
  font-size: 13px;
  line-height: 1.65;
}

.services-panel-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 66px 0 0;
  padding: 22px 24px 22px 30px;
  border-block: 1px solid rgba(143, 160, 175, 0.16);
  background: linear-gradient(90deg, rgba(205, 166, 83, 0.075), transparent 54%);
}

.services-panel-bridge > div {
  display: grid;
  gap: 6px;
}

.services-panel-bridge > div span {
  color: #7b93a4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.services-panel-bridge > div strong {
  color: #e8edf0;
  font-size: 16px;
}

.services-panel-bridge > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 220px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(205, 166, 83, 0.4);
  border-radius: 4px 13px 13px 4px;
  color: #e7cb78;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.services-panel-bridge > a:hover {
  border-color: rgba(239, 209, 123, 0.72);
  color: #fff0bd;
  background: rgba(205, 166, 83, 0.08);
}

.services-panel-bridge > a span {
  font-size: 19px;
}

.public-location {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: 0;
}

.location-map,
.location-copy {
  min-height: 560px;
}

.location-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 160, 175, 0.17);
  border-radius: 18px 4px 4px 18px;
  background: #0b1a25;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(143, 160, 175, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 160, 175, 0.09) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 55% 48%, #000 10%, transparent 72%);
}

.map-ring {
  position: absolute;
  top: 50%;
  left: 52%;
  border: 1px solid rgba(205, 166, 83, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-ring-one { width: 270px; height: 270px; }
.map-ring-two { width: 430px; height: 430px; border-color: rgba(143, 160, 175, 0.12); }

.map-marker {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 52%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid #d0a74e;
  background: #101f2a;
}

.map-marker span {
  transform: rotate(-45deg);
  color: #efd17b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.map-route {
  position: absolute;
  top: 31%;
  left: 14%;
  width: 62%;
  height: 42%;
  transform: rotate(-12deg);
  border-top: 2px dashed rgba(205, 166, 83, 0.28);
  border-right: 2px dashed rgba(205, 166, 83, 0.28);
  border-radius: 0 70% 0 0;
}

.location-map > p {
  position: absolute;
  bottom: 28px;
  left: 30px;
  margin: 0;
  color: #d9e2e7;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.location-map > p small { color: #678091; font-size: 9px; }

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 28px 0 28px -1px;
  padding: clamp(42px, 6vw, 86px);
  border: 1px solid rgba(143, 160, 175, 0.17);
  border-left: 3px solid #cda653;
  border-radius: 3px 18px 18px 3px;
  background: linear-gradient(130deg, #112431, #0b1822);
}

.location-copy > p:not(.public-overline) {
  margin: 26px 0 0;
  color: #91a7b7;
  line-height: 1.75;
}

.location-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 0;
  border-block: 1px solid rgba(143, 160, 175, 0.16);
}

.location-facts div { padding: 18px 14px; }
.location-facts div + div { border-left: 1px solid rgba(143, 160, 175, 0.16); }
.location-facts dt { color: #657f91; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.location-facts dd { margin: 7px 0 0; color: #e4ebef; font-size: 12px; font-weight: 750; }

.location-login-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(205, 166, 83, 0.32);
  color: #e0c474;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.location-login-link span { font-size: 20px; }

.login-access-heading {
  width: min(100% - 72px, 1360px);
  margin: 0 auto;
  padding: 110px 0 54px;
  text-align: center;
}

.login-access-heading > p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
  color: #8fa5b5;
  line-height: 1.7;
}

#login-access {
  scroll-margin-top: 24px;
}

@media (min-width: 1001px) {
  .login-panel {
    grid-template-columns: minmax(500px, 44.5%) minmax(0, 55.5%);
    background: #071019;
  }

  .login-card {
    grid-column: 1;
    grid-row: 1;
    z-index: 4;
    align-items: flex-start;
    padding: clamp(34px, 5vh, 58px) 0 26px clamp(44px, 5vw, 78px);
    background: radial-gradient(circle at 4% 8%, rgba(205, 166, 83, 0.09), transparent 25%), #0b1721;
    box-shadow: none;
  }

  .login-card > * {
    width: min(100%, 520px);
  }

  .login-brand-row {
    margin-bottom: clamp(30px, 4.5vh, 48px);
  }

  .login-logo {
    width: min(255px, 62%);
    max-height: 138px;
  }

  .login-copy h1 {
    font-size: clamp(34px, 3vw, 46px);
  }

  .login-form {
    width: min(560px, calc(100vw - 84px));
    transform: translateX(clamp(30px, 5vw, 76px));
    border-width: 1px 1px 1px 3px;
    border-color: rgba(143, 160, 175, 0.18) rgba(143, 160, 175, 0.18) rgba(143, 160, 175, 0.18) var(--psg-gold);
    border-radius: 6px 22px 22px 6px;
    background: #101f2b;
    box-shadow: 20px 28px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: none;
  }

  .credit {
    padding-left: clamp(30px, 5vw, 76px);
  }

  .login-showcase {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    width: auto;
    margin: 0;
    padding: clamp(54px, 7vw, 108px) clamp(54px, 7vw, 112px) clamp(54px, 7vw, 108px) clamp(108px, 10vw, 164px);
    border: 0;
    clip-path: none;
    background: radial-gradient(circle at 84% 18%, rgba(205, 166, 83, 0.13), transparent 28%), linear-gradient(118deg, #0f202d 0%, #09151f 48%, #050c12 100%);
  }

  .login-showcase::before {
    opacity: 0.28;
    background-image: linear-gradient(rgba(205, 166, 83, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(205, 166, 83, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(110deg, transparent 3%, #000 32%, transparent 94%);
  }

  .login-showcase::after {
    left: auto;
    right: -190px;
    bottom: -220px;
    width: 620px;
    height: 620px;
  }

  .showcase-grid {
    inset: 8% 7% 8% 17%;
    border: 0;
    border-left: 1px solid rgba(205, 166, 83, 0.13);
    border-radius: 0;
    transform: none;
  }

  .showcase-content {
    width: min(100%, 680px);
  }

  .showcase-emblem {
    margin-bottom: clamp(48px, 8vh, 92px);
    border-radius: 3px 11px 11px 3px;
  }

  .showcase-content h2 {
    font-size: clamp(55px, 5.8vw, 92px);
  }

  .showcase-metrics {
    gap: 0;
    border-top: 1px solid rgba(143, 160, 175, 0.15);
    border-bottom: 1px solid rgba(143, 160, 175, 0.15);
  }

  .showcase-metrics > div {
    padding: 18px 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .showcase-metrics > div + div {
    border-left: 1px solid rgba(143, 160, 175, 0.15);
  }

  .showcase-status {
    margin-top: 0;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
  }
}

@media (min-width: 1181px) {
  .app .work-grid,
  .app .dashboard {
    gap: 0;
    isolation: isolate;
  }

  .app .work-grid > .panel,
  .app .dashboard > .panel {
    margin-bottom: 0;
  }

  .app .work-grid > .panel:nth-child(even),
  .app .dashboard > .panel:nth-child(even) {
    z-index: 2;
    margin-top: 28px;
    margin-left: -20px;
    border-radius: 5px 16px 16px 5px;
  }

  .app .work-grid > .panel:nth-child(odd),
  .app .dashboard > .panel:nth-child(odd) {
    z-index: 1;
    padding-right: 18px;
    border-radius: 16px 5px 16px 16px;
  }

  .app .ops-grid {
    gap: 0;
  }

  .app .ops-grid > .metric {
    margin: 0;
    border-radius: 0;
  }

  .app .ops-grid > .metric + .metric {
    margin-left: -1px;
  }

  .app .ops-grid > .metric:first-child {
    border-radius: 16px 0 0 16px;
  }

  .app .ops-grid > .metric:last-child {
    border-radius: 0 16px 16px 0;
  }
}

.app .panel {
  border-color: rgba(25, 55, 78, 0.14);
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 35, 49, 0.065);
}

.app .panel::before {
  inset: 18px auto 18px 0;
  width: 2px;
  height: auto;
  background: linear-gradient(180deg, transparent, var(--psg-gold) 28%, var(--psg-gold) 72%, transparent);
}

.app .panel-header {
  background: #fff;
}

.app .panel-body {
  background: linear-gradient(100deg, rgba(19, 36, 51, 0.018), transparent 34%);
}

.app .list-item {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.app .list-item:last-child {
  border-bottom: 0;
}

.app .list-item:hover {
  padding-left: 16px;
  border-color: rgba(205, 166, 83, 0.32);
  background: linear-gradient(90deg, rgba(205, 166, 83, 0.07), transparent 76%);
  transform: none;
}

html[data-theme="dark"] .app .panel,
html[data-theme="dark"] .app .panel-header {
  background: #15222e;
}

html[data-theme="dark"] .app .panel-body {
  background: linear-gradient(100deg, rgba(205, 166, 83, 0.025), transparent 38%);
}

html[data-theme="dark"] .app .list-item,
html[data-theme="dark"] .app .list-item:hover {
  background-color: transparent;
}

@media (max-width: 1180px) {
  .public-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  }

  .public-hero-visual {
    margin-left: -80px;
  }

  .service-flow {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 0;
  }

  .service-card {
    grid-column: span 2;
    min-height: 270px;
  }

  .service-card:nth-child(even) {
    transform: none;
  }

  .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .service-card:first-child,
  .service-card:last-child {
    border-radius: 0;
  }

  .app .work-grid,
  .app .dashboard,
  .app .ops-grid {
    gap: 16px;
  }
}

@media (max-width: 1000px) {
  .public-header,
  .public-hero,
  .public-section,
  .login-access-heading {
    width: min(100% - 48px, 760px);
  }

  .public-hero {
    display: block;
    min-height: auto;
    padding-top: 170px;
    padding-bottom: 100px;
  }

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

  .public-hero-visual {
    min-height: 360px;
    margin: 20px 0 -40px;
  }

  .public-section-heading {
    display: block;
  }

  .public-section-heading > p {
    margin-top: 22px;
  }

  .public-location {
    grid-template-columns: 1fr;
  }

  .location-map,
  .location-copy {
    min-height: 460px;
  }

  .location-map {
    border-radius: 18px 18px 4px 4px;
  }

  .location-copy {
    min-height: auto;
    margin: -1px 18px 0;
    border-top: 3px solid #cda653;
    border-left-width: 1px;
    border-radius: 3px 3px 18px 18px;
  }

  html,
  body,
  .login-screen,
  .login-panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .login-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
  }

  .login-card > *,
  .login-form,
  .login-form label,
  .login-form input,
  .login-community-links,
  .login-community-link {
    min-width: 0;
    max-width: 100%;
  }

  .login-form {
    width: 100%;
    transform: none;
    border-width: 1px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .public-header,
  .public-hero,
  .public-section,
  .login-access-heading {
    width: calc(100% - 32px);
  }

  .public-header {
    min-height: 78px;
  }

  .public-brand,
  .public-brand img {
    width: 112px;
    height: 66px;
  }

  .public-nav {
    gap: 8px;
  }

  .public-nav a:not(.public-login-link) {
    display: none;
  }

  .public-nav .public-login-link {
    padding: 10px 13px;
    font-size: 10px;
  }

  .public-hero {
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .public-hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 1;
  }

  .public-hero-copy h1 br {
    display: none;
  }

  .public-hero-copy > p:not(.public-overline) {
    margin-top: 24px;
    font-size: 14px;
  }

  .public-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-hero-visual {
    min-height: 300px;
    margin-top: 28px;
  }

  .hero-command-card {
    right: 0;
    bottom: 12%;
    width: 220px;
  }

  .hero-signal {
    top: 16%;
    left: 0;
  }

  .public-section {
    padding-block: 78px;
  }

  .public-section-heading {
    margin-bottom: 34px;
  }

  .public-section-heading h2,
  .location-copy h2,
  .login-access-heading h2 {
    font-size: 34px;
  }

  .service-flow {
    display: block;
  }

  .service-card,
  .service-card:nth-child(4) {
    min-height: auto;
    margin: -1px 0 0;
    padding: 24px 22px;
    transform: none;
  }

  .service-card:first-child {
    margin-top: 0;
    border-radius: 14px 14px 0 0;
  }

  .service-card:last-child {
    border-radius: 0 0 14px 14px;
  }

  .service-card:hover,
  .service-card:nth-child(even):hover,
  .service-card:nth-child(odd):hover {
    transform: none;
  }

  .service-icon {
    margin: 24px 0 16px;
  }

  .services-panel-bridge {
    display: grid;
    margin-top: 30px;
    padding-inline: 18px;
  }

  .services-panel-bridge > a {
    width: 100%;
    min-width: 0;
  }

  .location-map,
  .location-copy {
    min-height: 380px;
  }

  .map-ring-one { width: 190px; height: 190px; }
  .map-ring-two { width: 310px; height: 310px; }

  .location-copy {
    min-height: auto;
    margin-inline: 10px;
    padding: 36px 24px;
  }

  .location-facts {
    grid-template-columns: 1fr;
  }

  .location-facts div + div {
    border-top: 1px solid rgba(143, 160, 175, 0.16);
    border-left: 0;
  }

  .login-access-heading {
    padding: 84px 0 38px;
  }

  .login-entry-header {
    top: 18px;
    right: 16px;
  }

  .login-entry-back {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-entry-page,
  .login-entry-page {
    transition-duration: 1ms;
  }
}
