:root {
  --bg-abyss: #04101f;
  --bg-night: #061830;
  --bg-deep: #0a2142;
  --bg-panel: #0d2950;
  --bg-elevated: #123461;
  --border-subtle: #16345c;
  --border-strong: #234b80;

  --text-primary: #eaf2fb;
  --text-soft: #c0d2e8;
  --text-mute: #82a0c4;
  --text-faint: #5b7ba3;

  /* brand colors from the real logo: #003DA4 deep blue, #78B2E0 sky.
     Deep blue lightened in-hue for dark-bg accents (not Tailwind). */
  --brand-deep: #003da4;
  --brand-blue: #2e6fd9;
  --brand-bright: #4d8ef0;
  --brand-sky: #78b2e0;
  --brand-ice: #a8d2f0;

  --font-main: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --radius: 18px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  background: var(--bg-abyss);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
}
h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
}
h3 {
  font-size: 20px;
  font-weight: 700;
}

.grad {
  background: linear-gradient(
    100deg,
    var(--brand-bright),
    var(--brand-sky) 60%,
    var(--brand-ice)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-sky);
  margin-bottom: 18px;
}

.drop-mark {
  width: 18px;
  height: 20px;
  color: var(--brand-sky);
  flex: none;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-blue));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 61, 164, 0.45);
}
.btn--primary:hover {
  box-shadow: 0 14px 38px rgba(46, 111, 217, 0.55);
}

.btn--ghost {
  background: rgba(120, 178, 224, 0.08);
  border-color: var(--border-strong);
  color: var(--text-soft);
}
.btn--ghost:hover {
  background: rgba(120, 178, 224, 0.16);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--brand-deep);
}
.btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ============ nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 16, 31, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(4, 16, 31, 0.92);
  border-bottom-color: var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  margin-right: auto;
}

.nav__medallion {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  flex: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.nav__medallion img {
  width: 38px;
  height: auto;
}
.nav__medallion--lg {
  width: 64px;
  height: 64px;
}
.nav__medallion--lg img {
  width: 46px;
}

.nav__brandtext {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.nav__brandtext strong {
  font-size: 15px;
  letter-spacing: 0.06em;
}
.nav__brandtext small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}

.nav__links {
  display: flex;
  gap: 24px;
}
.nav__links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--brand-ice);
}

@media (max-width: 960px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
}

/* ============ hero ============ */
.hero {
  position: relative;
  padding: 90px 0 0;
  background:
    radial-gradient(
      1100px 600px at 78% -10%,
      rgba(46, 111, 217, 0.28),
      transparent 65%
    ),
    radial-gradient(
      900px 500px at -10% 40%,
      rgba(0, 61, 164, 0.35),
      transparent 60%
    ),
    var(--bg-abyss);
  overflow: clip;
}

.hero__caustic {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      420px 220px at 64% 28%,
      rgba(120, 178, 224, 0.12),
      transparent 70%
    ),
    radial-gradient(
      300px 180px at 86% 60%,
      rgba(168, 210, 240, 0.08),
      transparent 70%
    );
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 560px;
  opacity: 0.045;
  pointer-events: none;
  filter: grayscale(1) brightness(3);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 110px;
}

.hero__lead {
  margin-top: 22px;
  max-width: 560px;
  font-size: 18.5px;
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__kpi {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 12px 44px;
  margin-top: 48px;
  width: fit-content;
}
.hero__kpi dt {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-ice);
}
.hero__kpi dd {
  font-size: 13.5px;
  color: var(--text-mute);
  max-width: 130px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: min(330px, 80%);
  filter: drop-shadow(0 30px 60px rgba(0, 20, 60, 0.7));
  position: relative;
  z-index: 1;
}
.hero__ring {
  position: absolute;
  width: 125%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: rgba(120, 178, 224, 0.14);
}

@media (max-width: 920px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
  }
  .hero__visual img {
    width: 220px;
  }
  .hero__kpi {
    grid-template-columns: repeat(2, auto);
  }
}

.wave {
  line-height: 0;
}
.wave svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ============ fact strip ============ */
.strip {
  background: var(--bg-deep);
  padding: 14px 0 56px;
}
.strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.strip__item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--brand-sky);
}
.strip__item span {
  font-size: 14px;
  color: var(--text-mute);
}

@media (max-width: 920px) {
  .strip__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ generic sections ============ */
.section {
  padding: 110px 0;
}
.section--deep {
  background: var(--bg-night);
}

.section__lead {
  max-width: 640px;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 18px;
}

/* ============ production cards ============ */
.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.card {
  background: linear-gradient(170deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-sky);
  margin-bottom: 18px;
}
.card h3 {
  margin-bottom: 12px;
  font-size: 18.5px;
}
.card p {
  font-size: 15px;
  color: var(--text-mute);
}

@media (max-width: 920px) {
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cards4 {
    grid-template-columns: 1fr;
  }
}

/* ============ STM ============ */
.section--accent {
  background:
    radial-gradient(
      900px 500px at 85% 20%,
      rgba(46, 111, 217, 0.22),
      transparent 60%
    ),
    var(--bg-deep);
}

.stm__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.stm__who {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.stm__who li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(120, 178, 224, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}
.stm__who strong {
  font-size: 16px;
  white-space: nowrap;
}
.stm__who span {
  font-size: 14.5px;
  color: var(--text-mute);
}

.stm__form {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  gap: 16px;
  box-shadow: 0 30px 80px rgba(0, 10, 35, 0.5);
}
.stm__form h3 {
  margin-bottom: 6px;
}
.stm__form label {
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mute);
}
.stm__form input,
.stm__form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-night);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15.5px;
}
.stm__form input:focus,
.stm__form select:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 1px;
}
.stm__form .btn {
  width: 100%;
  margin-top: 6px;
}
.stm__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 920px) {
  .stm__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ============ product lines ============ */
.lines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.line {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  text-align: center;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.line:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}
.line--featured {
  border-color: var(--brand-blue);
  background:
    radial-gradient(
      300px 200px at 50% 0%,
      rgba(46, 111, 217, 0.18),
      transparent 70%
    ),
    linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
}

.line img {
  height: 260px;
  width: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 18px 30px rgba(0, 15, 50, 0.6));
}
.line h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.line p {
  font-size: 14.5px;
  color: var(--text-mute);
}

.lines__tare {
  margin-top: 40px;
  color: var(--text-mute);
  font-size: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--brand-ice);
  background: rgba(120, 178, 224, 0.07);
}

@media (max-width: 920px) {
  .lines__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ============ quality + growth ============ */
.quality__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.awards {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 18px;
}
.awards li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  border-left: 3px solid var(--brand-blue);
  padding-left: 20px;
}
.awards strong {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--brand-sky);
}
.awards span {
  color: var(--text-soft);
  font-size: 15.5px;
}

.director {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding: 20px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  width: fit-content;
}
.director__medallion {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.director__medallion img {
  width: 46px;
  height: auto;
}
.director strong {
  display: block;
  font-size: 16px;
}
.director span {
  font-size: 13.5px;
  color: var(--text-mute);
}

.growth {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px;
}
.growth h3 {
  margin-bottom: 30px;
}

.growth__bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
  height: 280px;
}
.bar {
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  justify-items: center;
  gap: 8px;
  height: 100%;
}
.bar i {
  width: 100%;
  max-width: 64px;
  height: calc(var(--v) * 1%);
  min-height: 6px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-deep));
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bar--hot i {
  background: linear-gradient(180deg, var(--brand-ice), var(--brand-blue));
}
.growth.is-on .bar i {
  transform: scaleY(1);
}
.bar b {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}
.bar--hot b {
  color: var(--brand-ice);
}
.bar span {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.growth__src {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 920px) {
  .quality__grid {
    grid-template-columns: 1fr;
  }
}

/* ============ geo ============ */
.geo__cities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}
.geo__cities li {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  font-size: 15.5px;
  font-weight: 600;
  background: rgba(120, 178, 224, 0.05);
}
.geo__cities .geo__hub {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-blue));
  border-color: transparent;
  color: #fff;
}

/* ============ studio CTA ============ */
.section--studio {
  background:
    radial-gradient(
      800px 420px at 50% 0%,
      rgba(120, 178, 224, 0.16),
      transparent 65%
    ),
    linear-gradient(160deg, var(--brand-deep), #022465 55%, var(--bg-night));
}
.studio__inner {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}
.eyebrow--light {
  color: var(--brand-ice);
  justify-content: center;
}
.studio__inner h2 {
  color: #fff;
}
.studio__inner > p {
  margin-top: 24px;
  color: rgba(234, 242, 251, 0.85);
  font-size: 17.5px;
}
.studio__contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.studio__sign {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(234, 242, 251, 0.6);
}

/* ============ footer ============ */
.footer {
  background: var(--bg-abyss);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
}
.footer__brand p {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--text-mute);
}
.footer__col h4 {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-sky);
  margin-bottom: 16px;
}
.footer__col p {
  font-size: 14.5px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.footer__col a {
  color: var(--text-soft);
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--brand-ice);
}

.footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.footer__legal p {
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 920px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============ reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============ toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  background: #fff;
  color: var(--bg-night);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.1),
    opacity 0.25s ease;
  z-index: 100;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ============ print ============ */
@media print {
  .nav,
  .toast {
    display: none;
  }
  body {
    background: #fff;
    color: #111;
  }
}
