:root {
  --navy: #0a2550;
  --navy-deep: #061a3a;
  --orange: #ff6f0a;
  --orange-dark: #e65f00;
  --text: #0a2550;
  --muted: #5a6b86;
  --line: #e3e9f2;
  --bg: #ffffff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  min-height: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
#traces {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.top,
.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 34px;
}

/* header */
.top {
  padding-top: 30px;
}
.brand {
  display: inline-block;
}
/* crops the white margin around the JPEG so the logo sits tight */
.logo-crop {
  display: block;
  position: relative;
  height: 60px;
  aspect-ratio: 2.3 / 1;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  max-width: none;
  width: 135.3%;
  left: -18.3%;
  top: -56.3%;
}

/* stage */
.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding-block: 40px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    500 11px "JetBrains Mono",
    monospace;
  letter-spacing: 2.2px;
  color: var(--orange-dark);
  margin-bottom: 26px;
}
.kicker span {
  width: 30px;
  height: 2px;
  background: var(--orange);
}
h1 {
  font-size: clamp(44px, 6.4vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--navy);
}
h1 em {
  font-style: normal;
  color: var(--orange);
}
.lead {
  margin-top: 26px;
  max-width: 500px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn span {
  font-size: 18px;
  color: var(--orange);
}
.btn:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}
.mail {
  font:
    500 13px "JetBrains Mono",
    monospace;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.mail:hover {
  color: var(--orange-dark);
}

/* chip */
.chip-wrap {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.r1 {
  inset: 3%;
  border-style: dashed;
  border-color: #d3dcea;
  animation: spin 50s linear infinite;
}
.r2 {
  inset: 17%;
  background: radial-gradient(circle, #f4f7fc 0%, #fff 70%);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.chip {
  position: relative;
  width: 56%;
  aspect-ratio: 1;
  transform: rotate(-8deg);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 26px 30px rgba(10, 37, 80, 0.28));
}
@keyframes float {
  50% {
    transform: rotate(-8deg) translateY(-10px);
  }
}
.die {
  position: absolute;
  inset: 9%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    #12356e,
    var(--navy) 55%,
    var(--navy-deep)
  );
  border: 2px solid #2b4d86;
  border-radius: 12px;
  color: #fff;
}
.die .dot {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 111, 10, 0.8);
}
.die strong {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 4px;
}
.die small {
  font:
    500 clamp(8px, 1.2vw, 12px) "JetBrains Mono",
    monospace;
  letter-spacing: 5px;
  color: #b9c8e2;
  margin-top: 4px;
}
.die em {
  font:
    700 clamp(9px, 1.3vw, 13px) "JetBrains Mono",
    monospace;
  font-style: normal;
  letter-spacing: 3px;
  margin-top: 18px;
  padding: 5px 12px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 2px;
  animation: blink 1.8s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}
.pins {
  position: absolute;
  display: flex;
  justify-content: space-between;
}
.pins i {
  display: block;
  background: linear-gradient(#ff9a4d, var(--orange-dark));
  border-radius: 1px;
}
.pins.top,
.pins.bottom {
  left: 16%;
  right: 16%;
  height: 9%;
}
.pins.top {
  top: 0;
}
.pins.bottom {
  bottom: 0;
}
.pins.top i,
.pins.bottom i {
  width: 7%;
  height: 100%;
}
.pins.left,
.pins.right {
  top: 16%;
  bottom: 16%;
  width: 9%;
  flex-direction: column;
}
.pins.left {
  left: 0;
}
.pins.right {
  right: 0;
}
.pins.left i,
.pins.right i {
  height: 7%;
  width: 100%;
}

/* footer */
.foot {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  background: linear-gradient(
    160deg,
    #0d2d62,
    var(--navy) 50%,
    var(--navy-deep)
  );
  color: #fff;
  border-top: 5px solid var(--orange);
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.foot-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 34px 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.foot-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    500 11px "JetBrains Mono",
    monospace;
  letter-spacing: 2.2px;
  color: var(--orange);
  margin-bottom: 18px;
}
.foot-kicker span {
  width: 30px;
  height: 2px;
  background: var(--orange);
}
.foot h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.foot h2 em {
  font-style: normal;
  color: var(--orange);
}
.foot-intro > p:last-child {
  margin-top: 18px;
  max-width: 420px;
  color: #b9c8e2;
  font-size: 15px;
  line-height: 1.7;
}
.foot-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
a.contact:hover {
  background: rgba(255, 111, 10, 0.14);
  border-color: var(--orange);
  transform: translateX(4px);
}
.c-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 22px;
  border-radius: 3px;
}
.c-text {
  flex: 1;
  min-width: 0;
}
.c-text small {
  display: block;
  font:
    500 10px "JetBrains Mono",
    monospace;
  letter-spacing: 2px;
  color: #9fb2d3;
  margin-bottom: 6px;
}
.c-text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.c-text strong.na {
  font-size: 17px;
  font-weight: 600;
  color: #9fb2d3;
  font-style: italic;
}
.c-arrow {
  color: var(--orange);
  font-size: 24px;
}
.foot-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 34px 24px;
  font-size: 12px;
  color: #9fb2d3;
  border-top: 0;
}
.foot-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.mono {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 1.5px;
}
#NAT_link {
  color: var(--orange);
  font-style: italic;
}

/* responsive */
@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 30px;
  }
  .chip-wrap {
    order: -1;
    max-width: 320px;
  }
  .lead {
    font-size: 16px;
  }
  .foot-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 50px 30px 44px;
  }
  .foot-bar {
    padding-inline: 30px;
  }
}
@media (max-width: 540px) {
  .top,
  .stage {
    padding-inline: 20px;
  }
  .top {
    padding-top: 22px;
  }
  .logo-crop {
    height: 48px;
  }
  .foot-inner {
    padding: 42px 20px 36px;
  }
  .foot-bar {
    padding-inline: 20px;
    flex-direction: column;
    gap: 6px;
  }
  .contact {
    padding: 16px;
    gap: 14px;
  }
  .c-icon {
    width: 44px;
    height: 44px;
  }
  .c-text strong {
    font-size: 19px;
  }
  .chip-wrap {
    max-width: 250px;
  }
  h1 {
    letter-spacing: -0.04em;
  }
  .btn {
    width: 100%;
    justify-content: space-between;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
