:root {
  --paper: #f3f7fa;
  --white: #ffffff;
  --ink: #111a24;
  --muted: #657180;
  --line: rgba(17, 26, 36, 0.13);
  --blue: #168ff2;
  --coral: #ff625d;
  --cyan: #7ce7ee;
  --display: "Bahnschrift", "DIN Alternate", "Microsoft YaHei", sans-serif;
  --body: "Aptos", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(22, 143, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 143, 242, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  font-family: var(--body);
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.station-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  height: 78px;
  padding: 0 clamp(1.2rem, 4vw, 4.8rem);
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.station-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
}

.station-brand img {
  width: 34px;
  height: 34px;
}

.station-brand span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.station-brand strong,
.station-brand small,
.station-state,
.eyebrow,
.hero-index,
.space-card p,
.space-card b,
.station-footer {
  font-family: var(--display);
}

.station-brand strong {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}

.station-brand small {
  color: var(--muted);
  font-size: 0.46rem;
  letter-spacing: 0.14em;
}

.station-header nav {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  font-size: 0.78rem;
}

.station-header nav a {
  position: relative;
  padding: 0.4rem 0;
}

.station-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.station-header nav a:hover::after {
  transform: scaleX(1);
}

.station-state {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.station-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ecb79;
  box-shadow: 0 0 0 5px rgba(62, 203, 121, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 130px clamp(1.5rem, 8vw, 9rem) 5rem;
  align-items: center;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(2rem, 5vw, 7rem);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 12%;
  right: 4%;
  width: 28vw;
  height: 28vw;
  border-radius: 50%;
  background: rgba(124, 231, 238, 0.18);
  content: "";
  filter: blur(2px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise 700ms cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.7rem, 9vw, 10rem);
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.hero h1 small {
  display: block;
  margin: 1.4rem 0 0 0.06em;
  color: var(--coral);
  font-size: 0.26em;
  letter-spacing: 0.18em;
}

.hero-lead {
  margin: 2.8rem 0 1.2rem;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.hero-note {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.hero-action {
  display: inline-flex;
  min-width: 190px;
  margin-top: 2.2rem;
  padding: 1rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 0.75rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-action:hover {
  color: #fff;
  background: var(--ink);
  transform: translateY(-4px);
}

.hero-orbit {
  position: relative;
  z-index: 2;
  width: min(47vw, 650px);
  aspect-ratio: 1;
  justify-self: center;
  animation: rise 850ms 100ms cubic-bezier(.2,.8,.2,1) both;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(22, 143, 242, 0.24);
  border-radius: 50%;
}

.ring-one {
  inset: 4%;
}

.ring-two {
  inset: 18%;
  border-style: dashed;
  animation: spin 32s linear infinite;
}

.ring-three {
  inset: 34%;
  border-color: rgba(255, 98, 93, 0.33);
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(17, 26, 36, 0.12);
  content: "";
}

.hero-orbit::after {
  transform: rotate(90deg);
}

.orbit-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 32%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(22, 143, 242, 0.15), 15px 15px 0 rgba(22, 143, 242, 0.07);
  transform: translate(-50%, -50%);
}

.orbit-mark img {
  width: 62%;
  height: 62%;
}

.orbit-label {
  position: absolute;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  background: var(--paper);
  font-family: var(--display);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.label-one { top: 8%; left: 10%; }
.label-two { right: 1%; bottom: 20%; }
.label-three { bottom: 5%; left: 19%; }

.orbit-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.dot-one { top: 20%; right: 15%; }
.dot-two { bottom: 17%; left: 13%; background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }

.hero-index {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  color: var(--muted);
}

.hero-index span {
  color: var(--blue);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.8;
}

.hero-index p {
  margin: 0;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.spaces {
  padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
  background: #fff;
}

.section-heading {
  display: grid;
  margin-bottom: 4rem;
  align-items: end;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
}

.section-heading .eyebrow {
  margin: 0 0 0.5rem;
}

.section-heading h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 6.2rem);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.space-card {
  position: relative;
  display: flex;
  min-height: 360px;
  padding: clamp(1.6rem, 3vw, 3rem);
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

a.space-card:hover {
  box-shadow: 18px 18px 0 rgba(17, 26, 36, 0.07);
  transform: translate(-6px, -6px);
}

.space-loney {
  grid-column: span 7;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgba(124, 231, 238, 0.28), transparent 15rem),
    linear-gradient(135deg, #0b2034, #153e5d);
}

.space-salary {
  grid-column: span 5;
  color: #f4f0df;
  background:
    radial-gradient(circle at 90% 10%, rgba(244, 196, 94, 0.15), transparent 15rem),
    #0b1710;
}

.card-number {
  position: absolute;
  top: -0.18em;
  right: -0.04em;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--display);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1;
}

.space-card div,
.space-card > b {
  position: relative;
  z-index: 2;
}

.space-card p {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.space-salary p {
  color: #f4c45e;
}

.space-card h3 {
  max-width: 580px;
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.space-card div > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  line-height: 1.8;
}

.space-card > b {
  align-self: flex-start;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.station-footer {
  display: grid;
  min-height: 120px;
  padding: 2rem clamp(1.5rem, 8vw, 9rem);
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.station-footer div {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.station-footer strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.station-footer > a:nth-of-type(1) {
  transition: color 180ms ease;
}

.station-footer > a:nth-of-type(1):hover {
  color: var(--blue);
}

.station-footer > a:last-child {
  justify-self: end;
  color: var(--blue);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .station-header {
    grid-template-columns: 1fr auto;
  }

  .station-header nav {
    display: none;
  }

  .hero {
    padding-top: 130px;
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    width: min(80vw, 600px);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .space-loney,
  .space-salary {
    grid-column: span 12;
  }
}

@media (max-width: 600px) {
  .station-header {
    height: 68px;
    padding-inline: 1rem;
  }

  .station-brand small,
  .station-state {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 1rem 5rem;
    gap: 4rem;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 22vw, 6.3rem);
  }

  .hero-lead {
    font-size: 1.9rem;
  }

  .hero-orbit {
    width: 92vw;
    margin-left: -0.5rem;
  }

  .hero-index {
    display: none;
  }

  .spaces {
    padding: 5rem 1rem;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  .space-card {
    min-height: 330px;
    padding: 1.5rem;
  }

  .space-card h3 {
    font-size: 2.3rem;
  }

  .station-footer {
    padding: 2.5rem 1rem;
    align-items: start;
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .station-footer > a:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
