@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap");

:root {
  --public-text: #f4f7fb;
  --public-muted: #d7dbe3;
  --public-border-soft: rgba(4, 8, 15, 0.72);
  --public-panel: rgba(8, 13, 22, 0.86);
  --public-accent: #f6f7fb;
  --public-shadow: 0 22px 44px rgba(0, 0, 0, 0.36);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  min-height: 100vh;
}

html {
  background: #06080d;
}

body {
  background: #06080d;
}

.public-site-shell {
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--public-text);
}

.public-site-shell {
  --page-bg: url("/static/uploads/static_images/page-backgrounds/default-background.webp?v=20260520l");
  min-height: 100vh;
  background:
    linear-gradient(rgba(8, 12, 20, 0.48), rgba(8, 12, 20, 0.54)),
    var(--page-bg) center / cover no-repeat fixed;
}

.home-page {
  --page-bg: none;
}

.home-page.public-site-shell {
  background: #06080d;
}

.overview-page {
  --page-bg: url("/static/uploads/static_images/hero-optimized/BG1.webp?v=20260520l");
}

.services-page {
  --page-bg: url("/static/uploads/static_images/page-backgrounds/services-background.webp?v=20260520l");
}

.pricing-page {
  --page-bg: url("/static/uploads/static_images/page-backgrounds/pricing-background.webp?v=20260520l");
}

.partnerships-page {
  --page-bg: url("/static/uploads/static_images/page-backgrounds/partnerships-background.webp?v=20260520l");
}

.contact-page {
  --page-bg: url("/static/uploads/static_images/page-backgrounds/contact-background.webp?v=20260520l");
}

.public-site-shell * {
  box-sizing: border-box;
}

.public-site-shell p {
  text-align: justify;
  text-justify: inter-word;
}

.public-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: rgba(3, 7, 13, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
}

.public-nav-left,
.public-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.public-nav {
  margin-left: auto;
}

.public-nav-left a,
.public-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.public-nav a:hover,
.public-nav a.is-active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.public-nav-left a:hover,
.public-nav-left a.is-active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.public-nav-signin {
  margin-left: 12px;
  padding: 10px 22px !important;
  border-radius: 999px;
  border: 0 !important;
  background: #ffffff;
  color: #1a1f26 !important;
  font-weight: 700;
}

.public-nav-signin:hover {
  background: #e9edf3;
}

.public-main {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: clamp(18px, 3vh, 34px) 0 clamp(22px, 4vh, 54px);
}

.home-page .public-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing-hero {
  position: relative;
  min-height: calc(100vh - 68px);
  padding: clamp(46px, 7vw, 94px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  overflow: hidden;
  background: #06080d;
}

.landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: opacity;
}

.landing-bg-current {
  opacity: 1;
}

.landing-bg-next {
  opacity: 0;
  transition: opacity 1.15s ease;
}

.landing-bg-next.is-visible {
  opacity: 1;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(8, 12, 20, 0.48), rgba(8, 12, 20, 0.54));
  pointer-events: none;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 28% 35%, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 80% 28%, rgba(255, 255, 255, 0.04), transparent 34%);
  pointer-events: none;
}

.landing-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(146px, 228px) minmax(300px, 720px);
  align-items: start;
  gap: clamp(28px, 4.5vw, 52px);
  margin-top: clamp(36px, 9vh, 140px);
  margin-left: clamp(18px, 5vw, 84px);
}

.landing-logo-shell {
  width: clamp(146px, 18vw, 230px);
  aspect-ratio: 1 / 1.12;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: public-fade-up 0.85s ease-out 0.12s forwards;
}

.landing-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.landing-copy h1 {
  margin: 0;
  max-width: 16.5ch;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.landing-copy {
  opacity: 0;
  transform: translateY(34px);
  animation: public-fade-up 0.95s ease-out 0.28s forwards;
  padding-top: clamp(30px, 2.8vw, 42px);
}

.landing-copy p {
  margin: 0;
  max-width: 40ch;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.26;
  text-align: left;
  text-justify: auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.52);
}

@keyframes public-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-bg {
    animation: none;
    transition: none;
  }

  .service-card-nvg::before,
  .service-card-nvg::after,
  .service-card-nvg .service-media-nvg img {
    animation: none;
  }

  .landing-logo-shell,
  .landing-copy {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.public-content-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--public-border-soft);
  border-radius: 16px;
  background: var(--public-panel);
  box-shadow: var(--public-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.context-image-card {
  min-height: 122px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(8px, 1vw, 12px);
  border: 1px solid rgba(3, 7, 14, 0.76);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(234, 239, 245, 0.76), rgba(172, 183, 196, 0.62));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.context-image-card img {
  display: block;
  width: 100%;
  max-width: 250px;
  max-height: 150px;
  object-fit: contain;
}

.public-content-panel h1 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1;
}

.public-content-panel h2 {
  margin: 10px 0 2px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.public-content-panel p {
  margin: 0;
  color: var(--public-muted);
  font-size: 18px;
}

.overview-page .public-main {
  width: min(1440px, 96%);
  min-height: calc(100vh - 68px);
  display: grid;
  padding-top: clamp(10px, 1.8vh, 22px);
  padding-bottom: clamp(10px, 1.8vh, 22px);
}

.overview-panel {
  --overview-chrome-height: clamp(146px, 18vh, 210px);
  min-height: calc(100vh - 68px - clamp(20px, 3.6vh, 44px));
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: clamp(10px, 1.5vh, 18px);
  padding: clamp(12px, 1.8vw, 22px);
}

.overview-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.overview-panel-head > div {
  display: grid;
  gap: 8px;
}

.overview-carousel {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: 0;
  width: 100%;
}

.overview-carousel-stage {
  display: grid;
  place-items: center;
  width: min(100%, 1440px, calc((100vh - var(--overview-chrome-height)) * 16 / 9));
  max-height: calc(100vh - var(--overview-chrome-height));
  border: 1px solid var(--public-border-soft);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(8, 12, 20, 0.26)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--public-shadow);
}

.overview-slide {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #ffffff;
}

.overview-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.overview-slide img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.overview-arrow {
  position: relative;
  width: 54px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(7, 11, 19, 0.82);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.overview-arrow:hover {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32), 0 0 0 4px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.overview-arrow:active {
  transform: translateY(0) scale(0.97);
}

.overview-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.overview-arrow i {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.overview-arrow[data-slide-prev]:hover i {
  transform: translateX(-3px);
}

.overview-arrow[data-slide-next]:hover i {
  transform: translateX(3px);
}

.overview-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.overview-carousel-footer {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 1.4vh, 16px);
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(5, 8, 14, 0.52);
  backdrop-filter: blur(6px);
}

.overview-frame-shell {
  height: min(78vh, 940px);
  min-height: 620px;
  border: 1px solid var(--public-border-soft);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--public-shadow);
}

.overview-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.services-page .public-main {
  width: min(1320px, 96%);
  min-height: calc(100vh - 68px);
  display: grid;
  padding-top: clamp(12px, 2vh, 20px);
  padding-bottom: clamp(12px, 2vh, 20px);
}

.services-panel {
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
  padding: clamp(14px, 1.7vw, 20px);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(12, 18, 29, 0.9), rgba(7, 12, 20, 0.88));
}

.services-intro {
  display: grid;
  gap: 6px;
  max-width: 1180px;
}

.services-panel h1 {
  font-size: clamp(32px, 3.4vw, 44px);
}

.services-panel .public-note {
  font-size: clamp(16px, 1.35vw, 18px);
}

.services-intro .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(10px, 1.1vw, 14px);
  align-items: stretch;
}

.service-card {
  position: relative;
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(8px, 0.9vw, 12px);
  padding: clamp(13px, 1.25vw, 17px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(7, 12, 20, 0.88));
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.service-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(23px, 1.75vw, 27px);
  line-height: 1;
}

.service-card-summary {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
}

.service-card-summary::-webkit-details-marker {
  display: none;
}

.service-card-summary i {
  display: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.service-card-body {
  position: relative;
  z-index: 2;
  display: contents;
}

.service-card ul {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 15px;
  color: rgba(244, 247, 251, 0.88);
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.16;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.service-card-nvg {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.service-card-nvg::before,
.service-card-nvg::after {
  display: none;
}

.service-card-nvg h2 {
  color: #ffffff;
}

.service-card-nvg li::before {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

@media (min-width: 1161px) {
  .service-card-wide-left {
    grid-column: 1 / 3;
  }

  .service-card-wide-right {
    grid-column: 3 / 5;
  }
}

.service-media {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(74px, 10vh, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 0;
  padding: clamp(6px, 0.8vw, 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.service-media img {
  display: block;
  width: 100%;
  height: clamp(62px, 9vh, 98px);
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.34));
}

.service-media-heli {
  justify-content: flex-start;
}

.service-media-heli img {
  width: min(100%, 230px);
  object-position: left center;
}

.service-media-nvg img {
  width: min(100%, 190px);
}

.service-card-has-media .service-media-nvg,
.service-card-has-media .service-media-heli-bg,
.service-card-has-media .service-media-forms-bg {
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0.22;
  pointer-events: none;
}

.service-card-nvg .service-media-nvg {
  opacity: 0.36;
}

.service-card-has-media .service-media-nvg img {
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: contain;
  object-position: 92% 56%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  transform: translateX(22%) rotate(-8deg);
}

.service-card-nvg .service-media-nvg img {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  animation: none;
}

.service-card-has-media .service-media-heli-bg {
  opacity: 0.24;
}

.service-card-has-media .service-media-forms-bg {
  opacity: 0.22;
}

.service-card-has-media .service-media-heli-bg img {
  width: 120%;
  height: 120%;
  max-width: none;
  object-fit: contain;
  object-position: 62% 54%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  transform: rotate(3deg);
}

.service-card-has-media .service-media-forms-bg img {
  width: 94%;
  height: 120%;
  max-width: none;
  object-fit: contain;
  object-position: 92% 52%;
  filter:
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.1));
  transform: translateX(22%) rotate(-4deg);
}

.service-media-212 img {
  transform: translateX(-5px) rotate(-2deg);
}

.service-media-412 img {
  transform: translateX(-2px);
}

.service-media-as350 img {
  transform: translateX(-4px) rotate(2deg);
}

.hero-grid,
.partnership-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-card,
.pricing-card {
  border: 1px solid var(--public-border-soft);
  border-radius: 8px;
  padding: 16px;
  background: rgba(8, 13, 22, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-card h3,
.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1;
}

.hero-card p,
.pricing-card p {
  margin: 0;
  color: var(--public-muted);
  font-size: 17px;
}

.price {
  margin: 10px 0;
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1;
  color: #ffffff;
  font-weight: 700;
}

.price span {
  margin-left: 5px;
  color: var(--public-muted);
  font-size: 18px;
  font-weight: 500;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(8, 13, 22, 0.92));
}

.pricing-page .pricing-card,
.pricing-page .pricing-detail-card {
  border-color: rgba(5, 10, 18, 0.62);
  background:
    linear-gradient(180deg, rgba(76, 90, 104, 0.86), rgba(44, 57, 70, 0.82));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.pricing-page .pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(92, 108, 122, 0.9), rgba(50, 64, 78, 0.84));
}

.pricing-page .pricing-detail-card-with-media {
  background:
    linear-gradient(180deg, rgba(76, 90, 104, 0.86), rgba(44, 57, 70, 0.82));
}

.pricing-page .public-main,
.partnerships-page .public-main {
  width: min(1220px, 94%);
}

.partnerships-page .public-main {
  padding-bottom: clamp(88px, 10vh, 116px);
}

.pricing-panel {
  gap: clamp(14px, 2vh, 20px);
}

.pricing-intro {
  display: grid;
  gap: 8px;
  max-width: 980px;
}

.pricing-intro p,
.pricing-detail-card p {
  font-size: clamp(17px, 1.35vw, 19px);
}

.pricing-grid-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.pricing-detail-card {
  position: relative;
  border: 1px solid var(--public-border-soft);
  border-radius: 8px;
  padding: clamp(18px, 2.3vw, 24px);
  background: rgba(8, 13, 22, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.pricing-detail-card h2,
.pricing-detail-card p,
.pricing-detail-card .pricing-list,
.pricing-detail-card .pricing-actions {
  position: relative;
  z-index: 2;
}

.pricing-detail-card-with-media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(7, 12, 20, 0.88));
  contain: paint;
  overflow: hidden;
}

.pricing-detail-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  opacity: 0.23;
  overflow: hidden;
  pointer-events: none;
}

.pricing-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 60% 54%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  transform: rotate(2deg);
}

.pricing-detail-card h2 {
  margin: 0 0 12px;
}

.pricing-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--public-muted);
  font-size: 17px;
}

.pricing-list li {
  line-height: 1.3;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.partnerships-intro {
  display: grid;
  gap: 8px;
  max-width: 980px;
}

.partnerships-intro p {
  margin: 0;
  color: var(--public-muted);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.35;
}

.partnership-scene {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "writers engineering regulatory"
    "goal goal goal";
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.partnerships-page .hero-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(7, 12, 20, 0.88));
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.partnerships-card {
  position: relative;
  overflow: hidden;
}

.partnerships-card h3,
.partnerships-card p {
  position: relative;
  z-index: 2;
}

.partnerships-card-writers {
  grid-area: writers;
}

.partnerships-card-engineering {
  grid-area: engineering;
}

.partnerships-card-regulatory {
  grid-area: regulatory;
}

.partnerships-goal-card {
  grid-area: goal;
}

.partnerships-goal-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.32;
}

.partnerships-card-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  opacity: 0.22;
  pointer-events: none;
}

.partnerships-card-media img {
  display: block;
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: contain;
  object-position: 92% 54%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  transform: translateX(30%) rotate(-2deg);
}

.partnerships-contact-button {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 3vh, 28px);
  z-index: 80;
  transform: translateX(-50%);
  min-width: 190px;
  padding: 16px 34px;
  font-size: 19px;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.public-site-shell .partnerships-contact-button:hover,
.public-site-shell .partnerships-contact-button:focus-visible {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.38);
}

.public-site-shell .partnerships-contact-button:active {
  transform: translateX(-50%) translateY(0) scale(0.98);
}

.company-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.company-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.company-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 14px;
  border: 1px solid var(--public-border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.company-logo-image {
  width: 100%;
  max-width: 240px;
  height: 118px;
  object-fit: contain;
  object-position: center;
}

.company-chip {
  border: 1px solid var(--public-border-soft);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
}

.public-note {
  color: var(--public-muted);
}

.contact-form-public {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.contact-form-public label {
  font-size: 14px;
  font-weight: 600;
}

.contact-form-public input,
.contact-form-public textarea {
  width: 100%;
  border: 1px solid var(--public-border-soft);
  border-radius: 10px;
  padding: 10px 12px;
  color: #f3f6fb;
  background: rgba(7, 11, 19, 0.74);
  font-size: 15px;
}

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

.contact-form-public input:focus,
.contact-form-public textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 0;
}

.public-site-shell .btn {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 14px;
  box-shadow: none;
  font-size: 14px;
  text-decoration: none;
}

.public-site-shell .btn::before {
  display: none;
}

.public-site-shell .btn-primary {
  color: #1a1f26;
  background: #ffffff;
}

.public-site-shell .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1160px) {
  .public-nav a {
    font-size: 16px;
  }

  .public-nav-signin {
    padding: 10px 20px !important;
  }

  .landing-content {
    grid-template-columns: minmax(140px, 190px) minmax(220px, 1fr);
    margin-left: 0;
  }

  .landing-copy h1 {
    font-size: clamp(46px, 6vw, 78px);
  }

  .landing-copy p {
    font-size: clamp(21px, 2vw, 30px);
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partnership-scene {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

}

@media (min-width: 861px) and (max-height: 820px) {
  .public-topbar {
    min-height: 60px;
    padding-block: 8px;
  }

  .public-nav-left a,
  .public-nav a {
    font-size: 15px;
    padding-block: 6px;
  }

  .public-nav-signin {
    padding: 8px 18px !important;
  }

  .public-main {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .public-content-panel {
    padding: 16px;
  }

  .overview-page .public-main {
    min-height: calc(100vh - 60px);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .overview-panel {
    --overview-chrome-height: 124px;
    min-height: calc(100vh - 60px - 16px);
    gap: 8px;
    padding: 10px;
  }

  .public-content-panel h1,
  .overview-panel h1,
  .services-panel h1 {
    font-size: 30px;
  }

  .overview-panel-head p {
    display: none;
  }

  .overview-panel-head .btn {
    padding: 8px 12px;
  }

  .overview-arrow {
    width: 48px;
    height: 40px;
  }

  .services-page .public-main {
    width: min(1320px, 97%);
    min-height: calc(100vh - 60px);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .services-panel {
    gap: 8px;
    padding: 10px;
  }

  .services-panel h1 {
    font-size: 30px;
  }

  .services-panel .public-note {
    font-size: 13px;
  }

  .services-grid {
    gap: 8px;
  }

  .service-card {
    gap: 5px;
    padding: 8px 9px;
  }

  .service-card h2 {
    font-size: 18px;
  }

  .service-card ul {
    gap: 3px;
  }

  .service-card li {
    padding-left: 13px;
    font-size: 13.5px;
    line-height: 1.06;
  }

  .service-media:not(.service-media-nvg):not(.service-media-heli-bg):not(.service-media-forms-bg) {
    min-height: 40px;
    padding: 3px 6px;
  }

  .service-media:not(.service-media-nvg):not(.service-media-heli-bg):not(.service-media-forms-bg) img {
    height: 34px;
  }

  .pricing-panel,
  .pricing-detail-grid,
  .pricing-grid {
    gap: 10px;
  }

  .pricing-card,
  .pricing-detail-card {
    padding: 13px;
  }

  .pricing-card h3 {
    font-size: 24px;
  }

  .price {
    font-size: 38px;
  }

}

@media (max-width: 860px) {
  .public-site-shell {
    background-attachment: scroll;
  }

  .public-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }

  .public-nav-left,
  .public-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .public-nav {
    gap: 10px;
  }

  .public-nav-left a,
  .public-nav a {
    font-size: 14px;
    padding: 6px 3px;
  }

  .public-nav-signin {
    margin-left: 0;
    padding: 8px 14px !important;
  }

  .landing-hero {
    min-height: calc(100vh - 124px);
    padding: 22px 18px 24px;
  }

  .landing-content {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    margin-top: 20px;
  }

  .landing-copy h1 {
    font-size: clamp(33px, 8.2vw, 48px);
  }

  .landing-copy p {
    font-size: clamp(15px, 3.8vw, 19px);
    max-width: 22ch;
  }

  .public-main {
    width: min(1120px, 94%);
  }

  .overview-frame-shell {
    height: 74vh;
    min-height: 520px;
  }

  .hero-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .partnership-scene {
    grid-template-columns: 1fr;
    grid-template-areas:
      "writers"
      "engineering"
      "regulatory"
      "goal";
  }

  .partnerships-contact-button {
    position: static;
    left: auto;
    justify-self: center;
    width: max-content;
    margin: 18px auto 0;
    transform: none;
  }

  .partnerships-page .partnerships-card,
  .partnerships-page .partnerships-goal-card {
    padding-bottom: 16px;
  }

  .public-site-shell .partnerships-contact-button:hover,
  .public-site-shell .partnerships-contact-button:focus-visible {
    transform: translateY(-2px);
  }

  .public-site-shell .partnerships-contact-button:active {
    transform: translateY(0) scale(0.98);
  }

  .pricing-detail-grid {
    grid-template-columns: 1fr;
  }

  .services-page .public-main {
    width: min(1120px, 94%);
    min-height: 0;
    display: block;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

}

/* Viewport-fit layer for public sales pages */
.overview-page,
.services-page,
.pricing-page {
  --public-nav-height: 68px;
  --public-fit-pad: clamp(8px, 1.4vh, 16px);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.overview-page .public-main,
.services-page .public-main,
.pricing-page .public-main {
  height: calc(100vh - var(--public-nav-height));
  height: calc(100dvh - var(--public-nav-height));
  min-height: 0;
  overflow: hidden;
  padding-top: var(--public-fit-pad);
  padding-bottom: var(--public-fit-pad);
}

.overview-page .public-content-panel,
.services-page .public-content-panel,
.pricing-page .public-content-panel {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.overview-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(8px, 1.2vh, 14px);
  align-content: stretch;
}

.overview-carousel-stage {
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
}

.overview-slide {
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
}

.services-panel {
  height: 100%;
  min-height: 0;
}

.services-grid {
  min-height: 0;
}

.service-card {
  min-height: 0;
}

.service-card ul {
  min-height: 0;
  overflow: visible;
}

.pricing-panel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  overflow: hidden;
}

.pricing-grid,
.pricing-detail-grid,
.pricing-card,
.pricing-detail-card {
  min-height: 0;
}

.pricing-card,
.pricing-detail-card {
  display: grid;
  align-content: start;
  overflow: visible;
}

.pricing-card p,
.pricing-detail-card p,
.pricing-list {
  line-height: 1.22;
}

@media (min-width: 861px) and (max-height: 760px) {
  .overview-page,
  .services-page,
  .pricing-page {
    --public-nav-height: 60px;
    --public-fit-pad: 8px;
  }

  .pricing-panel {
    gap: 8px;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .pricing-intro {
    gap: 4px;
  }

  .public-content-panel h1,
  .pricing-intro h1,
  .services-panel h1,
  .overview-panel h1 {
    font-size: 30px;
  }

  .pricing-intro p {
    display: none;
  }

  .pricing-card h3,
  .pricing-detail-card h2 {
    font-size: 20px;
  }

  .pricing-card p,
  .pricing-detail-card p,
  .pricing-list {
    font-size: 13.5px;
  }

  .price {
    margin: 5px 0;
    font-size: 32px;
  }

  .pricing-actions {
    margin-top: 8px;
  }
}

@media (max-width: 1080px) {
  .pricing-grid-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .pricing-detail-card-with-media {
    display: none;
  }
}

@media (min-width: 861px) and (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 861px) and (max-height: 660px) {
  .services-panel .public-note,
  .overview-panel-head p {
    display: none;
  }

  .services-grid,
  .pricing-grid,
  .pricing-detail-grid {
    gap: 7px;
  }

  .service-card {
    padding: 7px 8px;
  }

  .service-card h2 {
    font-size: 16px;
  }

  .service-card li {
    padding-left: 11px;
    font-size: 12px;
    line-height: 1.12;
  }

  .pricing-card,
  .pricing-detail-card {
    padding: 9px;
  }

  .pricing-list {
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .overview-page,
  .services-page {
    --public-nav-height: 124px;
  }

  .overview-page .public-main,
  .services-page .public-main {
    height: calc(100vh - var(--public-nav-height));
    height: calc(100dvh - var(--public-nav-height));
    display: grid;
  }

  .services-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .services-page .public-main,
  .services-page .public-content-panel,
  .services-panel {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .pricing-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .pricing-page .public-main,
  .pricing-page .public-content-panel,
  .pricing-panel {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .services-panel {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-content: start;
    overflow: visible;
  }

  .pricing-grid-expanded,
  .pricing-detail-grid {
    grid-template-columns: 1fr;
  }

  .pricing-panel {
    grid-template-rows: auto auto auto;
  }

  .pricing-card p,
  .pricing-detail-card p,
  .pricing-list,
  .service-card li {
    font-size: 13px;
    line-height: 1.18;
  }

  .service-card {
    padding: 8px;
    height: auto;
  }
}

.services-page {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: auto;
}

.services-page .public-main {
  height: auto;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  overflow: visible;
}

.services-page .public-content-panel,
.services-panel {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.services-grid {
  grid-auto-rows: auto;
  overflow: visible;
}

.service-card {
  height: auto;
  overflow: hidden;
}

.service-card ul {
  align-content: start;
}

/* Resize repair layer */
.overview-panel-head {
  flex: 0 0 auto;
  min-height: 0;
}

.overview-carousel {
  overflow: hidden;
  place-items: center;
  align-content: center;
}

.overview-carousel-stage,
.overview-slide,
.overview-slide img {
  background: transparent;
}

.overview-panel {
  --overview-frame-chrome: clamp(180px, 22vh, 238px);
  --overview-frame-height: max(260px, calc(100vh - var(--public-nav-height) - var(--overview-frame-chrome)));
  --overview-frame-height: max(260px, calc(100dvh - var(--public-nav-height) - var(--overview-frame-chrome)));
  width: min(100%, calc((var(--overview-frame-height) * 16 / 9) + clamp(36px, 3vw, 48px)));
  justify-self: center;
}

.overview-carousel-stage {
  width: min(100%, calc(var(--overview-frame-height) * 16 / 9));
  height: auto;
  max-width: 100%;
  max-height: var(--overview-frame-height);
  aspect-ratio: 16 / 9;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.72), rgba(5, 8, 14, 0.86));
}

.overview-slide {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  aspect-ratio: inherit;
  overflow: hidden;
}

.overview-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 860px) and (orientation: landscape), (max-width: 860px) and (max-height: 520px) {
  .public-topbar {
    min-height: 52px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
  }

  .public-nav-left {
    width: auto;
    flex: 0 0 auto;
  }

  .public-nav {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .public-nav-left a,
  .public-nav a {
    font-size: 13px;
    padding: 5px 2px;
  }

  .public-nav-signin {
    padding: 7px 10px !important;
  }

  .home-page .public-main {
    width: 100%;
  }

  .landing-hero {
    min-height: calc(100vh - 52px);
    min-height: calc(100dvh - 52px);
    padding: clamp(14px, 4vh, 24px) clamp(20px, 5vw, 54px);
    justify-content: center;
  }

  .landing-content {
    width: min(100%, 820px);
    grid-template-columns: clamp(96px, 18vw, 148px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 4vw, 34px);
    margin: 0;
  }

  .landing-logo-shell {
    width: clamp(96px, 18vw, 148px);
  }

  .landing-copy {
    padding-top: 0;
  }

  .landing-copy h1 {
    display: none;
  }

  .landing-copy p {
    max-width: 52ch;
    padding-left: 12px;
    font-size: clamp(14px, 2.15vw, 17px);
    line-height: 1.28;
  }

  .overview-page {
    --public-nav-height: 52px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
  }

  .overview-page .public-main {
    width: min(100% - 18px, 980px);
    height: auto;
    min-height: calc(100vh - var(--public-nav-height));
    min-height: calc(100dvh - var(--public-nav-height));
    overflow: visible;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .overview-page .public-content-panel,
  .overview-panel {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .overview-panel {
    --overview-frame-chrome: 104px;
    --overview-frame-height: clamp(150px, calc(100dvh - var(--public-nav-height) - var(--overview-frame-chrome)), 360px);
    width: min(100%, calc((var(--overview-frame-height) * 16 / 9) + 22px));
    gap: 7px;
    padding: 8px;
    grid-template-rows: auto auto;
  }

  .overview-panel-head {
    gap: 8px;
  }

  .overview-panel h1 {
    font-size: 24px;
  }

  .overview-panel-head p {
    display: none;
  }

  .overview-panel-head .btn {
    padding: 7px 10px;
    font-size: 13px;
  }

  .overview-carousel {
    min-height: 0;
    overflow: visible;
  }

  .overview-carousel-stage {
    width: min(100%, calc(var(--overview-frame-height) * 16 / 9));
    max-height: var(--overview-frame-height);
  }

  .overview-carousel-footer {
    bottom: 6px;
    gap: 8px;
    padding: 5px;
  }

  .overview-arrow {
    width: 42px;
    height: 34px;
  }
}

.pricing-page {
  height: auto;
  min-height: 100vh;
  overflow: auto;
}

.pricing-page .public-main {
  height: auto;
  min-height: calc(100vh - 68px);
  overflow: visible;
}

.pricing-page .public-content-panel,
.pricing-panel {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.pricing-panel {
  grid-template-rows: auto auto auto;
  align-content: start;
}

.pricing-grid-expanded {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.pricing-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.pricing-detail-card-with-media {
  display: grid;
}

@media (min-width: 861px) {
  .pricing-page .public-main,
  .partnerships-page .public-main,
  .contact-page .public-main {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
  }

  .pricing-page .public-content-panel,
  .pricing-panel {
    min-height: 0;
  }

  .pricing-panel {
    grid-template-rows: auto auto auto;
  }

  .pricing-card,
  .pricing-detail-card {
    padding: clamp(20px, 2vw, 28px);
  }

  .pricing-detail-grid {
    align-items: start;
  }

  .pricing-detail-card {
    height: auto;
  }
}

.contact-page .public-main {
  width: min(760px, 94%);
}

.contact-panel {
  max-width: 760px;
}

.pricing-card h3 {
  font-size: clamp(18px, 1.65vw, 26px);
}

.pricing-card p,
.pricing-detail-card p,
.pricing-list {
  font-size: clamp(13px, 1.05vw, 17px);
}

/* Public UI stability layer: prefer readable, scrollable pages over clipped one-screen layouts. */
.home-page {
  --landing-lockup-width: clamp(220px, min(22vw, 36vh), 340px);
  --landing-copy-line-offset: clamp(23px, 11.5%, 37px);
}

.home-page .public-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.landing-hero {
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  padding: clamp(12px, 2.6vh, 28px) clamp(28px, 5vw, 72px) clamp(20px, 4vh, 46px);
  justify-content: flex-start;
  background: #06080d;
  contain: paint;
  overflow: hidden;
  clip-path: inset(0);
}

.landing-bg {
  inset: -8px;
  background-size: cover;
}

.landing-bg-current {
  background-image: url("/static/uploads/static_images/hero-optimized/BG1.webp?v=20260520l");
}

.landing-bg-next {
  display: block;
  opacity: 0;
}

.landing-bg-next.is-visible {
  opacity: 1;
}

.landing-content {
  width: var(--landing-lockup-width);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(10px, 1.8vh, 18px);
  margin: 0;
}

.landing-logo-shell {
  width: var(--landing-lockup-width);
}

.landing-copy {
  width: var(--landing-lockup-width);
  padding-top: 0;
}

.landing-copy p {
  width: calc(100% - var(--landing-copy-line-offset));
  max-width: none;
  margin-left: var(--landing-copy-line-offset);
  padding-left: 12px;
  font-size: clamp(13px, min(1.18vw, 2.25vh), 18px);
  line-height: 1.23;
  text-align: left;
}

.services-page,
.pricing-page,
.partnerships-page {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  overflow-y: auto;
}

.services-page .public-main,
.pricing-page .public-main,
.partnerships-page .public-main {
  height: auto;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  overflow: visible;
}

.services-page .public-content-panel,
.pricing-page .public-content-panel,
.partnerships-page .public-content-panel,
.services-panel,
.pricing-panel,
.partnerships-panel {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.services-grid,
.pricing-grid,
.pricing-detail-grid,
.partnership-scene {
  grid-auto-rows: auto;
  align-items: stretch;
  overflow: visible;
}

.service-card,
.pricing-card,
.pricing-detail-card,
.hero-card,
.partnerships-card,
.partnerships-goal-card {
  height: auto;
  min-height: 0;
  align-content: start;
}

.service-card ul,
.pricing-list {
  overflow: visible;
}

.service-card li,
.pricing-card p,
.pricing-detail-card p,
.pricing-list li,
.partnerships-card p,
.partnerships-goal-card p {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.partnerships-card-media {
  overflow: hidden;
  contain: paint;
}

.partnerships-card-media img {
  width: min(82%, 360px);
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  transform: none;
}

@media (max-width: 860px) {
  .home-page {
    --landing-lockup-width: clamp(160px, min(48vw, 34vh), 218px);
    --landing-copy-line-offset: clamp(20px, 15%, 30px);
  }

  .landing-hero {
    min-height: calc(100vh - 124px);
    min-height: calc(100svh - 124px);
    padding: 12px 18px 26px;
  }

  .landing-copy p {
    font-size: clamp(12px, min(3.35vw, 2.1vh), 16px);
    line-height: 1.22;
  }

  .services-page .public-main,
  .pricing-page .public-main,
  .partnerships-page .public-main {
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .public-content-panel {
    border-radius: 12px;
  }

  .pricing-card p,
  .pricing-detail-card p,
  .pricing-list,
  .service-card li,
  .partnerships-card p,
  .partnerships-goal-card p {
    font-size: 13.5px;
    line-height: 1.24;
  }
}

@media (max-width: 860px) and (orientation: landscape), (max-width: 860px) and (max-height: 520px) {
  .home-page {
    --landing-lockup-width: clamp(118px, 19vw, 154px);
    --landing-copy-line-offset: clamp(17px, 13%, 23px);
  }

  .landing-hero {
    min-height: calc(100vh - 52px);
    min-height: calc(100svh - 52px);
    padding: 14px clamp(18px, 5vw, 40px);
  }

  .landing-content {
    width: min(42ch, calc(100vw - clamp(36px, 10vw, 80px)));
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .landing-logo-shell {
    width: var(--landing-lockup-width);
  }

  .landing-copy {
    width: 100%;
  }

  .landing-copy p {
    max-width: none;
    padding-left: 10px;
    font-size: clamp(11px, min(1.55vw, 3vh), 13px);
    line-height: 1.18;
  }
}

/* Services readability layer: keep cards full and readable while allowing the page to scroll instead of clipping text. */
.services-page .public-main {
  width: min(1380px, 97%);
}

.services-panel {
  gap: clamp(14px, 1.45vw, 22px);
  padding: clamp(16px, 1.75vw, 24px);
}

.services-panel h1 {
  font-size: clamp(34px, min(3.5vw, 5vh), 48px);
  line-height: 1;
}

.services-panel .public-note {
  font-size: clamp(16px, min(1.3vw, 2.4vh), 20px);
  line-height: 1.22;
}

.services-grid {
  gap: clamp(12px, 1.25vw, 18px);
  align-items: stretch;
}

.services-page .service-card {
  min-height: clamp(200px, 25vh, 300px);
  gap: clamp(9px, 1vw, 14px);
  padding: clamp(15px, 1.35vw, 22px);
  overflow: visible;
}

.services-page .service-card-wide-left,
.services-page .service-card-wide-right {
  min-height: clamp(180px, 21vh, 270px);
}

.services-page .service-card h2 {
  font-size: clamp(24px, min(1.95vw, 3.5vh), 31px);
  line-height: 1.03;
}

.services-page .service-card ul {
  gap: clamp(6px, 0.55vw, 10px);
}

.services-page .service-card li {
  padding-left: clamp(15px, 0.95vw, 19px);
  font-size: clamp(17px, min(1.24vw, 2.45vh), 21px);
  line-height: 1.18;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 861px) and (max-height: 760px) {
  .services-page .service-card {
    min-height: 0;
    gap: 8px;
    padding: 13px 14px;
  }

  .services-page .service-card h2 {
    font-size: clamp(22px, min(1.7vw, 3.6vh), 28px);
  }

  .services-page .service-card li {
    font-size: clamp(15.5px, min(1.08vw, 2.65vh), 18px);
    line-height: 1.15;
  }
}

@media (max-width: 860px) {
  .services-panel {
    gap: 14px;
    padding: 16px;
  }

  .services-grid {
    gap: 14px;
  }

  .services-page .service-card {
    min-height: 0;
    gap: 10px;
    padding: 16px;
  }

  .services-page .service-card h2 {
    font-size: clamp(24px, 6.2vw, 30px);
    line-height: 1.04;
  }

  .services-page .service-card ul {
    gap: 7px;
  }

  .services-page .service-card li {
    padding-left: 17px;
    font-size: clamp(16px, 4.2vw, 19px);
    line-height: 1.2;
  }
}

/* Services viewport-fit layer: keep all service cards visible on common laptop and mobile viewports. */
.services-page {
  --services-nav-height: 68px;
  --services-fit-pad: clamp(6px, 1vh, 12px);
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.services-page .public-main {
  width: min(1380px, 97%);
  height: calc(100vh - var(--services-nav-height));
  height: calc(100svh - var(--services-nav-height));
  min-height: 0;
  display: grid;
  padding-top: var(--services-fit-pad);
  padding-bottom: var(--services-fit-pad);
  overflow: hidden;
}

.services-page .public-content-panel,
.services-panel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(7px, 1vh, 13px);
  padding: clamp(10px, 1.05vw, 16px);
  overflow: hidden;
}

.services-intro {
  gap: 2px;
}

.services-panel h1 {
  font-size: clamp(28px, min(2.5vw, 4.3vh), 40px);
  line-height: 1;
}

.services-panel .public-note {
  font-size: clamp(13px, min(1vw, 1.9vh), 16px);
  line-height: 1.12;
}

.services-grid {
  height: 100%;
  min-height: 0;
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(7px, 0.8vw, 12px);
  align-items: stretch;
  overflow: visible;
}

.services-page .service-card,
.services-page .service-card-wide-left,
.services-page .service-card-wide-right {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: clamp(5px, 0.65vw, 9px);
  padding: clamp(9px, 0.9vw, 14px);
  overflow: visible;
}

.services-page .service-card h2 {
  font-size: clamp(21px, min(1.65vw, 3.1vh), 28px);
  line-height: 1.02;
}

.services-page .service-card ul {
  align-content: start;
  gap: clamp(3px, 0.42vw, 6px);
  min-height: 0;
}

.services-page .service-card li {
  padding-left: clamp(13px, 0.78vw, 17px);
  font-size: clamp(15.8px, min(1.1vw, 2.24vh), 18.8px);
  line-height: 1.08;
  overflow-wrap: normal;
  hyphens: none;
}

@media (min-width: 861px) and (max-height: 760px) {
  .services-page {
    --services-nav-height: 60px;
    --services-fit-pad: 6px;
  }

  .services-panel {
    gap: 6px;
    padding: 8px;
  }

  .services-panel h1 {
    font-size: clamp(23px, min(2.1vw, 3.9vh), 30px);
  }

  .services-panel .public-note {
    display: none;
  }

  .services-grid {
    gap: 6px;
  }

  .services-page .service-card,
  .services-page .service-card-wide-left,
  .services-page .service-card-wide-right {
    gap: 4px;
    padding: 7px 8px;
  }

  .services-page .service-card h2 {
    font-size: clamp(17px, min(1.45vw, 3.2vh), 22px);
  }

  .services-page .service-card ul {
    gap: 2px;
  }

  .services-page .service-card li {
    padding-left: 10px;
    font-size: clamp(12.8px, min(1.02vw, 2.34vh), 16px);
    line-height: 1.03;
  }
}

@media (max-width: 860px) {
  .services-page {
    --services-nav-height: 124px;
    --services-fit-pad: 5px;
  }

  .services-page .public-main {
    width: min(98%, 860px);
    display: grid;
    overflow: hidden;
  }

  .services-panel {
    gap: 5px;
    padding: 7px;
  }

  .services-panel h1 {
    font-size: clamp(17px, 4.6vw, 24px);
  }

  .services-panel .public-note {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 5px;
  }

  .services-page .service-card,
  .services-page .service-card-wide-left,
  .services-page .service-card-wide-right {
    gap: 2px;
    padding: 5px;
  }

  .services-page .service-card h2 {
    font-size: clamp(11px, 3.1vw, 18px);
    line-height: 1;
  }

  .services-page .service-card ul {
    gap: 1px;
  }

  .services-page .service-card li {
    padding-left: 8px;
    font-size: clamp(8.8px, 2.52vw, 12.4px);
    line-height: 1.01;
    overflow-wrap: break-word;
  }

  .services-page .service-card li::before {
    top: 0.58em;
    width: 3px;
    height: 3px;
    box-shadow: none;
  }
}

@media (max-width: 860px) and (orientation: landscape), (max-width: 860px) and (max-height: 520px) {
  .services-page {
    --services-nav-height: 52px;
    --services-fit-pad: 4px;
  }

  .services-panel {
    gap: 4px;
    padding: 6px;
  }

  .services-panel h1 {
    font-size: clamp(15px, 3.2vh, 20px);
  }

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

  .services-page .service-card,
  .services-page .service-card-wide-left,
  .services-page .service-card-wide-right {
    gap: 2px;
    padding: 4px 5px;
  }

  .services-page .service-card h2 {
    font-size: clamp(10px, 3vh, 14px);
  }

  .services-page .service-card li {
    padding-left: 7px;
    font-size: clamp(7.8px, 2.12vh, 9.8px);
    line-height: 1;
  }
}

@media (max-width: 430px) and (max-height: 720px) {
  .services-panel {
    padding: 5px;
  }

  .services-grid {
    gap: 4px;
  }

  .services-page .service-card {
    padding: 4px;
  }

  .services-page .service-card h2 {
    font-size: clamp(10px, 2.9vw, 13px);
  }

  .services-page .service-card li {
    padding-left: 7px;
    font-size: clamp(7.7px, 2.26vw, 9.7px);
    line-height: 1;
  }
}

@media (max-width: 430px) {
  .home-page {
    --landing-lockup-width: clamp(142px, min(46vw, 30vh), 182px);
    --landing-copy-line-offset: clamp(21px, 16%, 29px);
  }

  .landing-hero {
    padding-inline: 16px;
  }

  .landing-content,
  .landing-logo-shell,
  .landing-copy {
    max-width: calc(100vw - 32px);
  }
}
