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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eceae5;
  background: #191919;
  line-height: 1.6;
}

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

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: rgba(25, 25, 25, 0.72);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #eceae5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 18px;
  color: rgba(236, 234, 229, 0.6);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}

.nav-links a:hover {
  color: #eceae5;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #191919;
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 130px 6vw 90px;
  gap: 0;
}

.hero-content {
  flex: 0 0 48%;
  max-width: 48%;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 22px;
  color: rgba(236, 234, 229, 0.4);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #eceae5;
}

.hero-subtext {
  max-width: 440px;
  margin-top: 26px;
  color: rgba(236, 234, 229, 0.5);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ─── BUTTONS ─── */
.primary-btn,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid rgba(236, 234, 229, 0.7);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #eceae5;
  background: transparent;
  font-family: inherit;
  transition: background 0.18s, border-color 0.18s;
}

.primary-btn:hover,
.contact-form button:hover {
  background: rgba(236, 234, 229, 0.09);
  border-color: rgba(236, 234, 229, 0.9);
}

.secondary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid rgba(236, 234, 229, 0.18);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(236, 234, 229, 0.55);
  background: transparent;
  transition: color 0.18s, border-color 0.18s;
}

.secondary-btn:hover {
  color: #eceae5;
  border-color: rgba(236, 234, 229, 0.38);
}

/* ─── PLANET VISUAL ─── */
.hero-visual {
  flex: 1;
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.planet-wrap {
  position: absolute;
  right: -60px;
  width: 580px;
  height: 580px;
}

/* All children centered in the wrap via absolute positioning */
.planet-body,
.orbit-ring,
.nebula {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Planet sphere ── */
.planet-body {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 64% 40%,
    #262626 0%,
    #111111 38%,
    #060606 65%,
    #020202 100%
  );
  /* Corona: offset box-shadows create asymmetric glow bright on upper-right */
  box-shadow:
    22px -28px 45px 6px  rgba(255, 250, 228, 0.62),
    10px -14px 80px 22px rgba(245, 236, 208, 0.32),
    4px  -4px  130px 45px rgba(215, 200, 168, 0.14),
    0     0    200px 70px rgba(185, 170, 145, 0.06);
  z-index: 3;
}

/* ── Orbit rings ── */
.orbit-ring {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  z-index: 2;
}

.or-1 {
  width: 560px;
  height: 560px;
  border-color: rgba(255, 255, 255, 0.08);
}

.or-2 {
  width: 680px;
  height: 280px;
  border-color: rgba(255, 255, 255, 0.06);
  transform: translate(-50%, -50%) rotate(-22deg);
}

.or-3 {
  width: 200px;
  height: 200px;
  border-color: rgba(255, 255, 255, 0.07);
  border-style: dashed;
}

/* ── Nebula wisps ── */
.nebula {
  border-radius: 50%;
  filter: blur(36px);
  z-index: 4;
  pointer-events: none;
}

.nb-1 {
  width: 340px;
  height: 160px;
  background: radial-gradient(ellipse, rgba(185, 175, 158, 0.13), transparent 70%);
  transform: translate(-15%, 60%) rotate(18deg);
}

.nb-2 {
  width: 220px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(210, 198, 175, 0.09), transparent 70%);
  transform: translate(-30%, -70%) rotate(-12deg);
}

/* ── Star particles ── */
.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.s1 { width: 4px; height: 4px; top: 10%; left: 58%; }
.s2 { width: 2px; height: 2px; top: 72%; left: 12%; }
.s3 { width: 3px; height: 3px; top: 82%; right: 20%; }
.s4 { width: 2px; height: 2px; top: 22%; right: 12%; }
.s5 { width: 2px; height: 2px; top: 48%; left: 6%;  }

/* ─── SECTIONS ─── */
.section {
  padding: 110px 6vw;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading h2,
.contact-card h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p,
.contact-card > div > p,
.page-hero p {
  margin-top: 16px;
  color: rgba(236, 234, 229, 0.5);
  font-size: 1rem;
  font-weight: 300;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.job-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.service-card {
  min-height: 340px;
  padding: 36px;
}

.service-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: #191919;
  background: #eceae5;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-top: 16px;
  color: rgba(236, 234, 229, 0.55);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.7;
}

.service-card ul,
.job-card ul {
  margin-top: 22px;
  padding-left: 18px;
  color: rgba(236, 234, 229, 0.65);
  font-size: 0.92rem;
  font-weight: 300;
}

.service-card li,
.job-card li {
  margin-bottom: 7px;
}

/* ─── CONTACT ─── */
.contact-section {
  padding-top: 40px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 48px;
  border-radius: 20px;
}

.contact-card .eyebrow {
  margin-bottom: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(236, 234, 229, 0.65);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  color: #eceae5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  outline: none;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.18s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(236, 234, 229, 0.45);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(236, 234, 229, 0.28);
}

.contact-form button {
  width: fit-content;
  font-size: 0.88rem;
}

/* ─── CAREERS PAGE ─── */
.page-hero {
  padding: 160px 6vw 70px;
  background:
    radial-gradient(circle at 70% 20%, rgba(80, 80, 80, 0.15), transparent 35%),
    linear-gradient(180deg, #1e1e1e, #191919);
}

.page-hero p {
  max-width: 720px;
}

.job-section {
  padding-top: 40px;
}

.job-card {
  padding: 42px;
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.job-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.job-header p,
.job-grid p {
  margin-top: 10px;
  color: rgba(236, 234, 229, 0.5);
  font-size: 0.94rem;
  font-weight: 300;
}

.job-pill {
  white-space: nowrap;
  padding: 9px 18px;
  color: #191919;
  background: #eceae5;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 34px;
}

.job-grid h3 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.job-apply-btn {
  margin-top: 34px;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 30px 6vw;
  color: rgba(236, 234, 229, 0.35);
  font-size: 0.85rem;
  font-weight: 300;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    padding: 130px 5vw 60px;
    gap: 60px;
  }

  .hero-content {
    flex: unset;
    max-width: 100%;
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    height: 400px;
    justify-content: center;
  }

  .planet-wrap {
    right: auto;
    width: 400px;
    height: 400px;
  }

  .planet-body {
    width: 300px;
    height: 300px;
  }

  .or-1 { width: 380px; height: 380px; }
  .or-2 { width: 460px; height: 190px; }
  .or-3 { width: 140px; height: 140px; }
}

@media (max-width: 820px) {
  .site-header {
    padding: 16px 5vw;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .services-grid,
  .contact-card,
  .job-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .job-card,
  .service-card {
    border-radius: 14px;
    padding: 26px;
  }

  .job-header {
    flex-direction: column;
  }

  .job-pill {
    white-space: normal;
  }
}
