:root {
  color-scheme: dark;
  --paper: #eeedf0;
  --muted: #b7b6bb;
  --line: rgba(255, 255, 255, 0.18);
  --gutter: clamp(1.5rem, 7.2vw, 7.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #08090b;
  color: var(--paper);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem var(--gutter) 7rem;
  background-color: #08090b;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, 0.52) 0%, rgba(5, 6, 8, 0.2) 45%, transparent 76%),
    url("Monochrome Cosmic Statue Wallpaper.png"),
    url("Monochrome%20Cosmic%20Statue%20Wallpaper.png");
  background-position: center;
  background-size: cover;
}

.hero__services {
  position: absolute;
  top: clamp(2rem, 5.2vh, 3.5rem);
  right: var(--gutter);
  padding-right: 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.48);
  text-align: right;
}

.hero__services ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__services li,
.eyebrow,
.hero__coordinates,
.hero__markers,
.card-index,
.contact-row__label {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero__services li {
  color: rgba(238, 237, 240, 0.8);
  font-size: 0.62rem;
  line-height: 1.25;
}

.hero__content {
  width: min(100%, 44rem);
  margin-top: 0.5rem;
}

.eyebrow {
  margin: 0;
  color: #b8b6bd;
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero__eyebrow {
  margin-bottom: 1.3rem;
  letter-spacing: 0.19em;
}

.hero__eyebrow span {
  padding: 0 0.25rem;
}

.hero h1 {
  margin: 0;
  color: #f0eff1;
  font-size: clamp(3.2rem, 5.3vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.93;
  text-transform: uppercase;
}

.hero h1 em {
  color: #c9c6cc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05em;
  font-weight: 400;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero__star {
  display: inline-block;
  margin-left: 0.12em;
  color: #d7d5da;
  font-size: 0.35em;
  vertical-align: 0.83em;
}

.hero__description {
  max-width: 27rem;
  margin: 1.5rem 0 1.8rem;
  color: #c1c0c5;
  font-size: 0.93rem;
  line-height: 1.75;
}

.pill-link {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #f0eff1;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.pill-link:hover,
.pill-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.13);
}

.hero__coordinates,
.hero__markers {
  position: absolute;
  bottom: 4rem;
  display: flex;
  align-items: center;
  color: rgba(238, 237, 240, 0.82);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.hero__coordinates {
  left: var(--gutter);
  gap: 1rem;
}

.hero__rule {
  width: 3.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.hero__markers {
  right: var(--gutter);
  gap: 0.65rem;
}

.hero__ticks {
  letter-spacing: 0.22em;
}

.hero__squares {
  display: flex;
  gap: 0.25rem;
  margin-left: 0.15rem;
}

.hero__squares i {
  width: 0.36rem;
  height: 0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero__squares i:last-child {
  background: rgba(255, 255, 255, 0.72);
}

.orbit-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #090a0d;
  background-image:
    linear-gradient(rgba(5, 6, 8, 0.58), rgba(5, 6, 8, 0.58)),
    url("Monochrome Cosmic Orbit Wallpaper.png"),
    url("Monochrome%20Cosmic%20Orbit%20Wallpaper.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.orbit-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 15rem;
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0));
  content: "";
  pointer-events: none;
}

.section-wrap {
  width: min(100% - (var(--gutter) * 2), 80rem);
  margin-inline: auto;
}

.qualifications {
  padding-top: clamp(6.5rem, 12vw, 10.5rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}

.section-heading {
  margin-bottom: 2.4rem;
}

.section-heading h2,
.contact h2 {
  margin: 0.65rem 0 0;
  color: #eeedf0;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.98;
  text-transform: uppercase;
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.qualification-card {
  position: relative;
  min-height: 12.5rem;
  padding: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 16, 0.65);
  backdrop-filter: blur(5px);
}

.qualification-card--wide {
  grid-column: 1 / -1;
  min-height: 10.5rem;
}

.card-index {
  color: #aaa9af;
  font-size: 0.58rem;
}

.qualification-card h3 {
  margin: 1rem 0 0.7rem;
  color: #e8e7e9;
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.qualification-card h3 span {
  color: #c3c1c7;
  font-size: 0.9em;
  font-weight: 400;
}

.qualification-card p {
  max-width: 43rem;
  margin: 0;
  color: #b8b7bd;
  font-size: 0.86rem;
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(6rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.contact__details {
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(4rem, 0.42fr) minmax(0, 1.5fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--line);
}

.contact-row__label {
  color: #aaa9af;
  font-size: 0.57rem;
}

.contact-row > a {
  overflow-wrap: anywhere;
  color: #e7e6e9;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  text-decoration: none;
}

.contact-row > a:hover,
.contact-row > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.copy-button {
  min-width: 4rem;
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #d7d6da;
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
}

.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-footer {
  display: flex;
  width: min(100% - (var(--gutter) * 2), 80rem);
  justify-content: space-between;
  margin-inline: auto;
  padding: 1.4rem 0 1.7rem;
  border-top: 1px solid var(--line);
  color: #aaa9af;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid #eeedf0;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: 11rem 1.5rem 7rem;
    background-image:
      linear-gradient(0deg, rgba(5, 6, 8, 0.88) 0%, rgba(5, 6, 8, 0.65) 38%, rgba(5, 6, 8, 0.08) 100%),
      url("Monochrome Cosmic Statue Wallpaper.png"),
      url("Monochrome%20Cosmic%20Statue%20Wallpaper.png");
    background-position: 58% center;
  }

  .hero__services {
    top: 1.5rem;
    right: 1.5rem;
    padding-right: 0.75rem;
  }

  .hero__services ul {
    gap: 0.38rem;
  }

  .hero__services li {
    font-size: 0.53rem;
  }

  .hero__content {
    width: min(100%, 34rem);
    margin-bottom: 0.3rem;
  }

  .hero__eyebrow {
    max-width: 17rem;
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 9vw, 4.5rem);
  }

  .hero__description {
    max-width: 25rem;
    margin-block: 1.1rem 1.45rem;
    font-size: 0.85rem;
  }

  .hero__coordinates,
  .hero__markers {
    bottom: 3.3rem;
    font-size: 0.53rem;
  }

  .hero__coordinates {
    left: 1.5rem;
    gap: 0.55rem;
  }

  .hero__rule {
    width: 1.7rem;
  }

  .hero__markers {
    right: 1.5rem;
    gap: 0.35rem;
  }

  .hero__ticks {
    letter-spacing: 0.12em;
  }

  .orbit-section {
    background-attachment: scroll;
  }

  .section-wrap,
  .site-footer {
    width: calc(100% - 3rem);
  }

  .qualification-grid {
    grid-template-columns: 1fr;
  }

  .qualification-card--wide {
    grid-column: auto;
  }

  .qualification-card {
    min-height: 0;
    padding: 1.35rem;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-inline: 1.2rem;
    background-position: 61% center;
  }

  .hero__services {
    right: 1.2rem;
  }

  .hero__coordinates {
    left: 1.2rem;
  }

  .hero__markers {
    right: 1.2rem;
  }

  .hero__coordinates,
  .hero__markers {
    font-size: 0.46rem;
  }

  .hero__rule {
    width: 1.1rem;
  }

  .hero__ticks {
    letter-spacing: 0.04em;
  }

  .contact-row {
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  .contact-row > a {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
