:root {
  color-scheme: dark;
  --bg: #090b0d;
  --ink: #f8f4ea;
  --muted: #b6b4ad;
  --line: rgba(248, 244, 234, 0.18);
  --gold: #f2c75c;
  --cyan: #8bd3e6;
  --red: #e76f51;
  --panel: #101415;
  --panel-2: #161b1c;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 13, 0.92), rgba(9, 11, 13, 0.98)),
    url("/assets/cubesats-deployment.jpg") center top / cover fixed;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-color: rgba(248, 244, 234, 0.38);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--gold);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(9, 11, 13, 0.86);
  border-bottom: 1px solid rgba(248, 244, 234, 0.1);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.mark-symbol {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.86rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 3vw, 1.5rem);
  color: rgba(248, 244, 234, 0.76);
  font-size: 0.9rem;
}

.page {
  min-height: calc(100svh - 4.2rem);
  background: linear-gradient(180deg, rgba(9, 11, 13, 0.68), #101415 48%, #0e1111);
}

.page-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: rgba(248, 244, 234, 0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.52;
}

.section {
  padding: clamp(2.75rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(248, 244, 234, 0.1);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.item {
  min-height: 12rem;
  padding: 1.25rem;
  background: var(--panel);
}

.item:nth-child(even) {
  background: var(--panel-2);
}

.item h2,
.item h3 {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 1.08rem;
}

.item p,
.item li {
  color: rgba(248, 244, 234, 0.75);
  line-height: 1.62;
}

.item p,
.item ul {
  margin: 0;
}

.item ul {
  padding-left: 1.05rem;
}

.timeline {
  display: grid;
  gap: 0;
}

.entry {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.entry:first-child {
  border-top: 0;
}

.entry time,
.phase-label {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry h2,
.entry h3 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.entry p {
  max-width: 720px;
  margin: 0;
  color: rgba(248, 244, 234, 0.74);
  line-height: 1.6;
}

.site-footer {
  padding: 2.25rem clamp(1rem, 4vw, 3rem);
  color: rgba(248, 244, 234, 0.58);
  font-size: 0.85rem;
  border-top: 1px solid rgba(248, 244, 234, 0.12);
  background: #090b0d;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 820px) {
  .site-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .grid,
  .entry {
    grid-template-columns: 1fr;
  }

  .entry {
    gap: 0.45rem;
  }
}
