:root {
  --bg: #090c10;
  --surface: #10151c;
  --surface-2: #151b23;
  --text: #f1f3f5;
  --muted: #9ba4b0;
  --line: rgba(255,255,255,.10);
  --accent: #d7651f;
  --accent-soft: rgba(215, 101, 31, .14);
  --shell: min(1180px, calc(100% - 36px));
  --radius: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(215,101,31,.10), transparent 26rem),
    linear-gradient(180deg, #0b0e13 0%, #080a0e 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9,12,16,.78);
  backdrop-filter: blur(18px);
}

/* Brand title text ("Starship Tracking") */
.site-header .brand span {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Primary navigation links & dropdown trigger */
.site-header .top-nav a,
.site-header .nav-sites-button {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

/* Dropdown menu items */
.site-header .nav-sites-menu a {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
}

.site-header .nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 98%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: .98rem;
  letter-spacing: .02em;
}

.brand small {
  color: var(--muted);
  font-size: .76rem;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: #c7cdd5;
  font-size: .9rem;
  transition: color .2s ease;
}

nav a:hover {
  color: white;
}

main {
  padding: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f1319;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-image-title {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: left;
    z-index: 10;
    font-family: "Chakra Petch", sans-serif;
    color: white;
}

.hero-image-title h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: white;
    -webkit-text-stroke: 1.5px #111;
    text-shadow:
        -2px -2px 0 #111,
         2px -2px 0 #111,
        -2px  2px 0 #111,
         2px  2px 0 #111,
         0 3px 8px rgba(0,0,0,0.7);
}

.hero-image-title p {
    margin: 10px 0 0;
    font-size: clamp(1rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.1;
    color: white;
    -webkit-text-stroke: 0.7px #111;
    text-shadow:
        -1px -1px 0 #111,
         1px -1px 0 #111,
        -1px  1px 0 #111,
         1px  1px 0 #111,
         0 2px 5px rgba(0,0,0,0.8);
}

.hero-copy {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 64px;
  padding: 4px 4px 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #e78243;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section {
  padding: 96px 0 0;
}

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

.section-heading h2,
.about-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.section-heading > p:last-child,
.about-card > p {
  color: var(--muted);
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.site-card {
  position: relative;
  min-height: 285px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  overflow: hidden;
}

.site-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,101,31,.17), transparent 68%);
  pointer-events: none;
}

.site-card.featured {
  background: linear-gradient(180deg, rgba(215,101,31,.08), rgba(255,255,255,.018));
  border-color: rgba(215,101,31,.32);
}

.site-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.site-index {
  color: #727c89;
  font-size: .78rem;
  letter-spacing: .12em;
}

.site-tag {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #c4cbd3;
  font-size: .72rem;
  border: 1px solid rgba(255,255,255,.06);
}

.site-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -.025em;
}

.site-card p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: .92rem;
}

.site-card a {
  margin-top: auto;
  color: #f0a16f;
  font-weight: 650;
  font-size: .9rem;
}

.coverage-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(215,101,31,.08), transparent 34%),
    var(--surface);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.coverage-item {
  min-height: 210px;
  padding: 22px;
  background: #0e1319;
}

.coverage-item span {
  display: inline-block;
  margin-bottom: 42px;
  color: #68727f;
  font-size: .72rem;
  letter-spacing: .12em;
}

.coverage-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.coverage-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .88rem;
}

.about {
  padding-bottom: 96px;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-card h2 {
  margin-bottom: 0;
}

.about-card > p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-grid {
    grid-template-columns: 1fr;
  }

  .site-card {
    min-height: 240px;
  }

  .site-card-top {
    margin-bottom: 30px;
  }

  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: .82rem;
  }

  main {
    padding-top: 0px;
  }

  .hero {
    gap: 20px;
  }
  .hero-image-title {
    top: 60%;
    width: 94%;
  }

  .hero-image-title h2 {
	font-size: clamp(1.65rem, 8vw, 2.6rem);
	-webkit-text-stroke: 1px #111;
	text-shadow:
	  -1px -1px 0 #111,
	   1px -1px 0 #111,
	  -1px  1px 0 #111,
	   1px  1px 0 #111,
	   0 2px 5px rgba(0, 0, 0, 0.7);
  }

  .hero-image-title p {
    margin-top: 6px;
    font-size: clamp(.85rem, 4vw, 1.15rem);
  }
  .section {
    padding-top: 68px;
  }

  .coverage-panel {
    padding: 22px;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .coverage-item {
    min-height: 175px;
  }

  .coverage-item span {
    margin-bottom: 28px;
  }

  .about {
    padding-bottom: 68px;
  }
  
  .articles-section {
	padding: 32px 0;
  }

  .articles-track {
    gap: 14px;
  }

  .article-card {
    flex-basis: 88vw;
  }

  .article-overlay {
    padding: 24px;
  }

  .article-content h3 {
    font-size: 1.9rem;
  }

  .article-date {
    font-size: 1.15rem;
  }

  .article-description {
    font-size: 0.8rem;
  }
}

/* =========================================================
   ARTICLE CAROUSEL
   ========================================================= */

.articles-section {
    padding: 32px 0;
}

.articles-heading {
    margin-bottom: 30px;
}

.articles-heading h2 {
    margin: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #f1f3f5;
}

/* Carousel wrapper */
.articles-carousel {
    position: relative;
    width: 100%;
}

/* Horizontal scrolling track */
.articles-track {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.articles-track::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   ARTICLE CARD
   ========================================================= */

.article-card {
    position: relative;
    flex: 0 0 min(760px, 72vw);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: start;
    min-width: 0;
}

.article-overlay {
    position: absolute;
    inset: -2px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 38px 42px;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.04) 0%,
            rgba(0, 0, 0, 0.08) 32%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.94) 100%
        );
}

/* =========================================================
   NEW BADGE
   ========================================================= */

.article-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: #d92d32;
    color: #ffffff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    pointer-events: none;
}

/* =========================================================
   ARTICLE CONTENT
   ========================================================= */

.article-content {
    margin-top: auto;
    max-width: 620px;
    color: #fff;
}

.article-content h3 {
    margin: 0 0 8px;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7);
}

.article-date {
    margin: 0 0 12px;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(1.1rem, 1.7vw, 1.65rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.article-description {
    margin: 0 0 20px;
    max-width: 570px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.article-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 19px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.article-button:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

/* =========================================================
   CAROUSEL ARROWS
   ========================================================= */

.carousel-button {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(10, 12, 16, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.carousel-button-left {
    left: 18px;
}

.carousel-button-right {
    right: 18px;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-button-left:hover {
    transform: translateY(-50%) translateX(-3px);
}

.carousel-button-right:hover {
    transform: translateY(-50%) translateX(3px);
}


/*
 * JS adds/removes this depending on scroll position.
 */
.carousel-button.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =========================================================
   LOAD ERROR
   ========================================================= */

.articles-error {
    padding: 30px;
    color: var(--muted);
    border: 1px solid var(--line);
    font-family: "Chakra Petch", sans-serif;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .articles-section {
        padding: 32px 0;
    }

    .articles-track {
        gap: 14px;
    }

    .article-card {
        flex: 0 0 88vw;
        aspect-ratio: auto;
        height: 420px;
    }

    .article-overlay {
        padding: 24px;
    }
	
	.article-content {
        margin-top: auto;
        width: 100%;
    }
	
    .article-content h3 {
        margin-bottom: 6px;
        font-size: 1.8rem;
        line-height: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .article-date {
        margin-bottom: 9px;
        font-size: 1.05rem;
    }

    .article-description {
        margin-bottom: 16px;
        font-size: 0.82rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
	
	.article-button {
        display: inline-flex;
        padding: 9px 17px;
        font-size: 0.78rem;
    }
	
    .carousel-button {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .carousel-button-left {
        left: 10px;
    }

    .carousel-button-right {
        right: 10px;
    }
}

/* =========================================================
   VIEW ALL ARTICLES CARD
   ========================================================= */

.article-view-all {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.025) 35%,
            transparent 65%
        ),
        linear-gradient(
            135deg,
            #181818 0%,
            #0b0b0b 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
}


/* Subtle internal glow */
.article-view-all::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 80%
        );
}


/* Entire card is clickable */
.article-view-all-link {
    position: relative;

    z-index: 2;

    display: flex;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    padding: 40px;

    color: #ffffff;

    text-decoration: none;
}


/* Main content */
.article-view-all-content {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    font-family: "Chakra Petch", sans-serif;
}


/* Arrow circle */
.article-view-all-arrow {
    display: flex;

    width: 68px;
    height: 68px;

    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border: 2px solid rgba(255, 255, 255, 0.85);

    border-radius: 50%;

    font-size: 2rem;
    font-weight: 500;
    line-height: 1;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.03);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


/* Heading */
.article-view-all-content h3 {
    margin: 0 0 12px;

    font-family: "Chakra Petch", sans-serif;

    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -0.03em;

    text-transform: uppercase;

    color: #f2f2f2;
}


/* Description */
.article-view-all-content p {
    max-width: 320px;

    margin: 0;

    font-family: "Chakra Petch", sans-serif;

    font-size: 0.9rem;
    line-height: 1.45;

    color: rgba(255, 255, 255, 0.55);
}


/* Hover */
.article-view-all-link:hover
.article-view-all-arrow {
    transform: translateX(6px);

    background: rgba(255, 255, 255, 0.12);

    border-color: #ffffff;
}


.article-view-all-link:hover
.article-view-all-content h3 {
    color: #ffffff;
}

/* =========================================================
   STARSHIP TRACKING FOOTER
   ========================================================= */

.st-footer {
    width: 100%;
    padding: 52px 0 28px;
    background: #191919;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: "Chakra Petch", sans-serif;
}

.st-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "socials meta other";
    align-items: stretch;
    min-height: 210px;
}

/* =========================================================
   HEADINGS
   ========================================================= */

.st-footer h3 {
    margin: 0 0 12px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    color: #eeeeee;
}

/* =========================================================
   LEFT COLUMN
   ========================================================= */

.st-footer-socials {
    grid-area: socials;
    justify-self: start;
    text-align: left;
}

/* =========================================================
   RIGHT COLUMN
   ========================================================= */

.st-footer-other {
    grid-area: other;
    justify-self: end;
    text-align: center;
}

/* =========================================================
   FOOTER LINKS
   ========================================================= */

.st-footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

.st-footer-other .st-footer-links {
    align-items: center !important;
}

.st-footer-links a {
    display: block;
    margin: 0;
    padding: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.35;
    color: #dddddd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.st-footer-links a:hover {
    color: #e78243;
}

/* =========================================================
   CENTRE COLUMN
   ========================================================= */

.st-footer-meta {
    grid-area: meta;
    align-self: end;
    justify-self: center;
    text-align: center;
}

.st-footer-meta p {
    margin: 0 0 6px;
    padding: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.3;
    color: #d0d0d0;
}

.st-footer-meta p:last-child {
    margin-bottom: 0;
}

.st-footer-disclaimer {
    color: #8e98a5 !important;
    font-size: 0.75rem !important;
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .st-footer {
        padding: 42px 0 26px;
    }

    .st-footer-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "socials other" "meta meta";
        row-gap: 50px;
        min-height: auto;
    }

    .st-footer-socials {
        justify-self: start;
    }

    .st-footer-other {
        justify-self: end;
    }

    .st-footer-meta {
        justify-self: center;
        align-self: auto;
    }

    .st-footer h3 {
        font-size: 1.35rem;
    }

    .st-footer-links a {
        font-size: 0.95rem;
    }
}

/* =========================================================
   LIVE UPDATES
   ========================================================= */

.updates-section {
    padding: 32px 0;
    font-family: "Chakra Petch", sans-serif;
}

.updates-heading {
    margin-bottom: 26px;
}

.updates-heading h2 {
    margin: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #eeeeee;
}

/* =========================================================
   CAROUSEL
   ========================================================= */

.updates-carousel {
    position: relative;
    width: 100%;
}

.updates-track {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.updates-track::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   UPDATE CARD
   ========================================================= */

.update-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.update-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.update-image {
    width: 100%;
    aspect-ratio: 1920 / 1080;
    overflow: hidden;
    background: #000;
    border-radius: 3px;
}

.update-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center center;
    background: #000;
}

/* =========================================================
   UPDATE TEXT
   ========================================================= */

.update-text {
    margin: 10px 0 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
    color: #e2e2e2;
    min-height: calc(1.45em * 4);
    max-height: calc(1.45em * 4);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.update-time {
    display: block;
    margin-top: 6px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #999999;
}

/* =========================================================
   CAROUSEL ARROWS
   ========================================================= */

.updates-arrow {
    position: absolute;
    top: 35%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(25, 25, 25, 0.82);
    color: #ffffff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.updates-arrow-left {
    left: 16px;
}

.updates-arrow-right {
    right: 16px;
}

.updates-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
}

.updates-arrow-left:hover {
    transform: translateY(-50%) translateX(-3px);
}

.updates-arrow-right:hover {
    transform: translateY(-50%) translateX(3px);
}

.updates-arrow.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cape-updates-arrow-left {
    left: 16px;
}

.cape-updates-arrow-right {
    right: 16px;
}

.cape-updates-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
}

.cape-updates-arrow-left:hover {
    transform: translateY(-50%) translateX(-3px);
}

.cape-updates-arrow-right:hover {
    transform: translateY(-50%) translateX(3px);
}

.cape-updates-arrow.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================================
   ERROR MESSAGE
   ========================================================= */

.updates-error {
    padding: 30px 0;
    color: #999;
    font-family: "Chakra Petch", sans-serif;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .update-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .updates-section {
        padding: 32px 0;
    }

    .updates-track {
        gap: 14px;
    }

    .update-card {
        flex: 0 0 85%;
    }

    .update-text {
        font-size: 0.85rem;
    }

    .update-time {
        font-size: 0.8rem;
    }

    .updates-arrow {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }

    .updates-arrow-left {
        left: 8px;
    }

    .updates-arrow-right {
        right: 8px;
    }
}

/* =========================================================
   COMMON SECTION BACKGROUND
   ========================================================= */

.site-panel {
    position: relative;
    background: linear-gradient(
        90deg,
        #000000 0%,
        #222222 50%,
        #000000 100%
    );
}

/*
 * Faded white border at top and bottom
 */
.site-panel::before,
.site-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(
        90deg,
        #000000 0%,
        rgba(255, 255, 255, 0.15) 15%,
        rgba(255, 255, 255, 0.75) 35%,
        #ffffff 50%,
        rgba(255, 255, 255, 0.75) 65%,
        rgba(255, 255, 255, 0.15) 85%,
        #000000 100%
    );
}

.site-panel::before {
    top: 0;
}

.site-panel::after {
    bottom: 0;
}

/* =========================================================
   PRODUCTION TRACKING SECTIONS
   ========================================================= */

.production-section {
    padding: 32px 0;
    font-family: "Chakra Petch", sans-serif;
}

/* Two-column layout */
.production-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 70px;
    min-height: 420px;
}

.production-layout-ship {
    grid-template-columns: 1.65fr 1fr;
}

.production-layout-booster {
    grid-template-columns: 1fr 1.85fr;
}

/* =========================================================
   PRODUCTION HEADING
   ========================================================= */

.production-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	height: 100%;
}

.production-layout-ship .production-title {
    text-align: right;
    align-items: flex-end;
}

.production-layout-booster .production-title {
    text-align: left;
    align-items: flex-start;
}

.production-title .eyebrow {
    margin-bottom: 12px;
}

.production-title h2 {
    margin: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: #eeeeee;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.75), 0 6px 12px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   PLACEHOLDER
   ========================================================= */

.production-placeholder {
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
    color: #8f98a3;
}

.production-placeholder span {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #c8cdd3;
}

.production-placeholder p {
    margin: 8px 0 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.85rem;
    color: #777f88;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .production-layout,
    .production-layout-booster {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: auto;
    }

    .production-layout-ship .production-title {
        order: 1;
        text-align: left;
        align-items: flex-start;
    }

    .production-layout-ship .production-placeholder {
        order: 2;
    }

    .production-layout-booster .production-title {
        order: 1;
    }

    .production-layout-booster .production-placeholder {
        order: 2;
    }

    .production-title h2 {
        font-size: clamp(2.8rem, 9vw, 4.5rem);
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {
    .production-section {
        padding: 32px 0;
    }

    .production-placeholder {
        min-height: 240px;
    }

    .production-title h2 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }
}

.production-figma {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: transparent;
}


/* Exact Figma frame ratio:
   11338 × 6864
*/
.production-figma-ship {
    aspect-ratio: 10000 / 6864;
}


/* Exact Figma frame ratio:
   11333.52 × 4479.7
*/
.production-figma-booster {
    aspect-ratio: 9000 / 5000;
}

.production-figma iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

.articles-page-main {
    padding: 3rem 1.5rem;
}

.articles-header h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.search-container {
    width: 100%;
}

.search-container input {
    width: 100%;
    box-sizing: border-box;

    padding: 1rem 1.25rem;

    background-color: #23272f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;

    color: #ffffff;
    font-size: 1rem;

    outline: none;
}

.search-container input::placeholder {
    color: #8c92a0;
}

.search-container input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.section-divider {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    margin: 2rem 0 3rem 0;
}

.articles-list {
    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 1.5rem;
}

.articles-page-main .article-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: none;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.articles-page-main .article-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    box-sizing: border-box;
}

.articles-page-main .article-badge {
    position: absolute;

    top: 1rem;
    left: 1rem;

    z-index: 2;

    padding: 0.35rem 0.65rem;

    background-color: #e53935;

    color: #ffffff;

    font-size: 0.75rem;
    font-weight: 700;

    border-radius: 2px;
}

.articles-page-main .article-content {
    width: 100%;
    max-width: 900px;
}

.articles-page-main .article-content h2 {
    margin: 0 0 0.5rem 0;

    color: #ffffff;

    font-size: clamp(1.75rem, 3vw, 2.75rem);

    font-weight: 600;

    line-height: 1.1;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7);
}

.articles-page-main .article-date {
    margin: 0 0 0.75rem 0;

    color: #ffffff;

    font-size: 1.1rem;

    font-weight: 500;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7);
}

.articles-page-main .article-description {
    margin: 0 0 1rem 0;

    color: #ffffff;

    font-size: 0.95rem;

    line-height: 1.5;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8);
}

.articles-page-main .article-button {
    display: inline-block;

    width: fit-content;

    padding: 0.5rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 4px;

    background-color: rgba(0, 0, 0, 0.3);

    color: #ffffff;

    text-decoration: none;

    font-size: 0.85rem;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.articles-page-main .article-button:hover {
    background-color: rgba(255, 255, 255, 0.15);

    border-color: #ffffff;
}

.articles-page-main .articles-error {
    padding: 2rem;

    color: #8c92a0;

    border: 1px solid rgba(255, 255, 255, 0.1);

    text-align: center;
}

@media (max-width: 700px) {

    .articles-page-main {
        padding: 2rem 1rem;
    }

    .articles-header h1 {
        font-size: 1.8rem;
    }

    .articles-list {
        gap: 1rem;
    }

    .articles-page-main .article-overlay {
        padding: 1rem;
    }

    .articles-page-main .article-content h2 {
        font-size: 1.5rem;
    }

    .articles-page-main .article-date {
        font-size: 0.95rem;
    }

    .articles-page-main .article-description {
        font-size: 0.8rem;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;

        margin-bottom: 0.75rem;
    }

    .articles-page-main .article-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.article-page {
    position: relative;

    min-height: 70vh;

    padding: 70px 0 110px;

    background:
        linear-gradient(
            90deg,
            #000000 0%,
            #222222 50%,
            #000000 100%
        );

    font-family:
        "Chakra Petch",
        sans-serif;
}

/* =========================================================
   ARTICLE CONTAINER
   ========================================================= */

.article-shell {
    max-width: 1180px;
}

/* =========================================================
   ARTICLE HEADER
   ========================================================= */

.article-header {
    margin-bottom: 38px;
}

.article-kicker {
    margin: 0 0 10px;
    color: #e78243;
    font-family:
        "Chakra Petch",
        sans-serif;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.article-title {
    margin: 0;
    font-family:
        "Chakra Petch",
        sans-serif;
    font-size:
        clamp(
            2.8rem,
            7vw,
            5.8rem
        );
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
    color: #f2f2f2;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
    color: #9da3aa;
    font-size: 0.9rem;
}

.article-writer {
    display: block;
    color: #d2d6da;
}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.article-hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
}

/* =========================================================
   DESCRIPTION / LEAD
   ========================================================= */

.article-lead {
    width: 100%;
    max-width: none;
    margin: 0 0 54px;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    color: #cdd1d5;
}

/* =========================================================
   ARTICLE BODY
   ========================================================= */

.article-body {
    width: 100%;
    max-width: none;
}

.article-section {
    margin-bottom: 54px;
}

.article-section h2 {
    margin: 0 0 20px;
    padding-bottom: 9px;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.05;
    color: #eeeeee;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.article-section p {
    margin: 0 0 19px;
    font-size: 1rem;
    line-height: 1.75;
    color: #c4c8cd;
}

.article-section p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   FINAL QUESTION
   ========================================================= */

.article-final-question {
    position: relative;
    margin-top: 70px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.article-final-question::before {
    content: "DISCUSSION";
    display: block;
    margin-bottom: 10px;
    color: #e78243;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.article-final-question p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e2e4;
}

/* =========================================================
   BACK TO ARTICLES
   ========================================================= */

.article-back {
    display: inline-flex;
    margin-top: 58px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #eeeeee;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.article-back:hover {
    background: #ffffff;
    color: #111111;
}

/* =========================================================
   LOADING / ERROR
   ========================================================= */

.article-loading,
.article-error {
    padding: 100px 0;
    text-align: center;
    color: #8e959d;
}

.article-error h1 {
    margin: 0 0 14px;
    color: #eeeeee;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {
    .article-page {
        padding: 48px 0 75px;
    }

    .article-meta {
        flex-direction: column;
        gap: 5px;
    }

    .article-lead {
        margin-bottom: 40px;
    }

    .article-section {
        margin-bottom: 42px;
    }

    .article-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .article-final-question {
        padding: 24px;
    }

}

/* =========================================================
   STARBASE THIS WEEK SHARED LINKS
   ========================================================= */

.sbtw-extra {
    width: 100%;
    max-width: none;
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-family: "Chakra Petch", sans-serif;
}

/* General paragraphs */
.sbtw-extra p {
    display: block;
    margin: 0 0 24px;
    color: #c4c8cd;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Links inside text */
.sbtw-extra a {
    color: #e78243;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sbtw-extra a:hover {
    color: #ffffff;
}

/* Figma destinations */
.sbtw-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 30px;
}

.sbtw-extra-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.035);
    color: #eeeeee;
    text-decoration: none;
}

.sbtw-extra-links a:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}

/* Hashtags */
.sbtw-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 36px;
    color: #8f98a3;
    font-size: 0.9rem;
}

.sbtw-hashtags span {
    display: inline-block;
}

.cape-extra {
    width: 100%;
    max-width: none;
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-family: "Chakra Petch", sans-serif;
}

/* General paragraphs */
.cape-extra p {
    display: block;
    margin: 0 0 24px;
    color: #c4c8cd;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Links inside text */
.cape-extra a {
    color: #e78243;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cape-extra a:hover {
    color: #ffffff;
}

/* Figma destinations */
.cape-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 30px;
}

.cape-extra-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.035);
    color: #eeeeee;
    text-decoration: none;
}

.cape-extra-links a:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}

/* Hashtags */
.cape-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 36px;
    color: #8f98a3;
    font-size: 0.9rem;
}

.cape-hashtags span {
    display: inline-block;
}

/* =========================================================
   DISCUSSION SPACING
   ========================================================= */

.article-final-question {
    width: 100%;
    margin-top: 70px;
    margin-bottom: 38px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

/* =========================================================
   BACK BUTTON / BOTTOM SPACING
   ========================================================= */

.article-back {
    display: inline-flex;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #eeeeee;
    font-size: 0.85rem;
    text-decoration: none;
}

/* Extra breathing room before footer */
.article-page {
    padding-bottom: 140px;
}

.team-page-main {
    padding: 3rem 0;
}

.team-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.team-subtitle {
    color: #8c92a0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Container layout remains a responsive grid */
.team-positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Default card styling */
.team-category-card {
    background-color: #161a22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 1.5rem;
}

/* Modifier: Forces the Founders card to stretch full width */
.team-category-card.is-full-width {
    grid-column: 1 / -1;
}

.team-category-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-member-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.member-name {
    color: #e0e0e0;
    font-weight: 500;
}

.member-handle {
    color: #8c92a0;
    font-size: 0.85rem;
    font-family: monospace;
}

.update-credit {
    margin-top: 0px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1rem;
    color: #8a7fb2;
}

.update-credit a {
    color: #8a7fb2;
    text-decoration: underline;
}

.update-credit a:hover {
    color: #c5b5fe;
}

.update-mention {
    margin-top: 0px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b7b7b7;
    white-space: pre-line;
}

/* 1. Match the container wrapper to the lower section width */


.countdown-section {
    background: linear-gradient(
        90deg,
        #000000 0%,
        #222222 50%,
        #000000 100%
    );
}

/* 2. Flatten the countdown card into a seamless header banner */
.countdown-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 0 3rem 0;
    margin: 0;
    text-align: left; /* Align left to match "LATEST ARTICLES" */
}

/* Layout Row */
.countdown-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* Container Alignment Fix */
/* Container forces left and right sides to match height */
.countdown-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch; /* Stretches flight grid to match left content height */
    gap: 2rem;
    width: 100%;
}

/* Left side content wrapper */
.countdown-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
}

/* Right side cards container */
.flight-vehicles-grid {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: stretch; /* Cards stretch to fill total height */
    flex-shrink: 0;
}

/* Card sizing to fill full container height */
.flight-vehicles-grid .vehicle-card,
.flight-vehicles-grid .flight-mini-card {
    width: 280px;
    height: 100%;             /* Fills exact height of the countdown text block */
    min-height: unset;        /* Remove min-height overrides */
    margin: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Clean Responsive Breakpoint for Mobile */
@media (max-width: 900px) {
    .countdown-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .flight-vehicles-grid {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Right Section Container */
.flight-vehicles-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Mini Compact Cards */
.flight-mini-card {
    position: relative;
    width: 180px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(15, 15, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.flight-mini-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Compact Typography */
.flight-mini-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.flight-mini-card .vehicle-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.flight-mini-card .badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.flight-mini-card .details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    color: #a0aec0;
}

.flight-mini-card .details-list li {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.flight-mini-card .details-list li span:last-child {
    color: #ffffff;
    font-weight: 600;
}

/* 3. Style the small category tag above the title */
.countdown-card p.countdown-net {
    color: #ff5500; /* Section orange accent */
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* 4. Match main heading to "Starship Tracking Articles" */
.countdown-card h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

/* 5. Align timer inline to the left */
.countdown-timer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.35rem;
}

.time-block span {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.time-block label {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8c92a0;
    text-transform: uppercase;
}

/* Align NET text and tooltip icon */
.net-prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
}

/* Small hover icon next to NET */
.net-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: help;
    position: relative;
    user-select: none;
    margin-left: 0.15rem;
    margin-bottom: 0.75rem; /* Offsets slightly to align near top-right of NET */
}

/* Tooltip popup */
.net-tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    background-color: #0f172a;
    color: #ffffff;
    text-align: center;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    font-family: sans-serif;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;

    /* Position above the icon */
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
}

/* Tooltip down arrow */
.net-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border-width: 4px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

/* Hover/Focus reveal */
.net-tooltip-icon:hover,
.net-tooltip-icon:focus {
    border-color: #3b82f6;
    color: #3b82f6;
}

.net-tooltip-icon:hover .net-tooltip-text,
.net-tooltip-icon:focus .net-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Ensure digits match line-height */
.time-block span {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.time-block span {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Chakra Petch', sans-serif;
}

.time-block label {
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.75rem;
    color: #8c92a0;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Base NET text style: White */
#countdown-net {
    font-family: "Chakra Petch", sans-serif;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

/* Base state: White countdown digits */
#cd-days, 
#cd-hours, 
#cd-minutes, 
#cd-seconds {
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

/* Under 24 hours: Orange digits */
.countdown-timer.is-warning #cd-days,
.countdown-timer.is-warning #cd-hours,
.countdown-timer.is-warning #cd-minutes,
.countdown-timer.is-warning #cd-seconds {
    color: #ff9800;
}

/* Under 12 hours: Red digits */
.countdown-timer.is-urgent #cd-days,
.countdown-timer.is-urgent #cd-hours,
.countdown-timer.is-urgent #cd-minutes,
.countdown-timer.is-urgent #cd-seconds {
    color: #f44336;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #d1d5db;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #0b0e13;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d7651f;
    box-shadow: 0 0 8px rgba(215, 101, 31, 0.4);
}

.login-btn {
    width: 100%;
    padding: 0.85rem;
    margin-top: 1rem;
    background: #d7651f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.login-btn:hover {
    background: #e8742b;
}

.login-btn:active {
    transform: scale(0.99);
}

.auth-error {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid #dc2626;
    border-radius: 4px;
    color: #fca5a5;
    font-size: 0.875rem;
    text-align: center;
}

/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.nav-wrap {
    display: flex;
    align-items: center;
}

.top-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav > a,
.nav-sites > summary {
    color: #ffffff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.top-nav > a:hover,
.nav-sites > summary:hover {
    color: #ff7a00;
}

.nav-sites {
    position: relative;
}

/* Remove native details arrow */

.nav-sites > summary {
    list-style: none;
}

.nav-sites > summary::-webkit-details-marker {
    display: none;
}

.nav-sites > summary::marker {
    content: "";
}


/* =========================================================
   TOP BAR BUTTON
   ========================================================= */

.nav-sites-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;

    background: rgba(255, 255, 255, 0.025);

    color: #ffffff;

    font-family: "Chakra Petch", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}


.nav-sites-button:hover {
    background: rgba(255, 255, 255, 0.07);

    border-color: rgba(255, 255, 255, 0.25);
}


.nav-sites[open] .nav-sites-button {
    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.28);
}


/* =========================================================
   CHEVRON
   ========================================================= */

.nav-sites-chevron {
    opacity: 0.7;

    transition:
        transform 0.16s ease;
}


.nav-sites[open] .nav-sites-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   FLOATING MENU
   ========================================================= */

.nav-sites-menu {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    z-index: 10000;

    width: 235px;

    padding: 6px;

    background: #161b22;

    border: 1px solid rgba(240, 246, 252, 0.14);

    border-radius: 11px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.15);

    overflow: hidden;
}


/* Small pointer underneath button */

.nav-sites-menu::before {
    content: "";

    position: absolute;

    top: -6px;
    right: 23px;

    width: 10px;
    height: 10px;

    background: #161b22;

    border-left:
        1px solid rgba(240, 246, 252, 0.14);

    border-top:
        1px solid rgba(240, 246, 252, 0.14);

    transform: rotate(45deg);
}


/* =========================================================
   MENU ITEMS
   ========================================================= */

.nav-sites-menu a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 11px;

    width: 100%;

    padding: 10px 11px;

    border-radius: 6px;

    color: #e6edf3;

    font-family: "Chakra Petch", sans-serif;
    font-size: 0.86rem;
    font-weight: 500;

    line-height: 1.15;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.12s ease,
        color 0.12s ease;
}


.nav-sites-menu a:hover,
.nav-sites-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.075);

    color: #ffffff;

    outline: none;
}


/* Optional Starship Tracking orange accent */

.nav-sites-menu a:hover .nav-sites-icon,
.nav-sites-menu a:focus-visible .nav-sites-icon {
    color: #ff7a00;
}


/* =========================================================
   MENU ICONS
   ========================================================= */

.nav-sites-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;

    flex: 0 0 18px;

    color: #8b949e;

    font-size: 1rem;

    transition:
        color 0.12s ease;
}


.vehicle-status-section {
    padding: 3rem 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); /* Increased min-width for larger text */
    gap: 1.5rem;
    margin-top: 2rem;
}

.vehicle-card {
    font-family: 'Chakra Petch', sans-serif;
    background: rgba(18, 18, 20, 0.75); 
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.vehicle-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.85);
    color: #a0aec0;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.vehicle-card:hover::after {
    opacity: 1;
    color: #d7651f; /* Accent color on hover */
}

.vehicle-card:hover {
    border-color: rgba(215, 101, 31, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.vehicle-card:focus-visible {
    outline: 2px solid #d7651f;
    outline-offset: 2px;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

/* Scaled up from 1.5rem -> 2.25rem */
.vehicle-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

/* Scaled up from 0.75rem -> 1rem */
.badge {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.badge-active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-testing {
    background: rgba(215, 101, 31, 0.15);
    color: #d7651f;
    border: 1px solid rgba(215, 101, 31, 0.3);
}

.badge-retired {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.vehicle-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

/* Scaled up from 0.9rem -> 1.25rem */
.vehicle-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    padding: 0.65rem 0;
    color: #a0aec0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.vehicle-details li span:last-child {
    color: #fff;
    font-weight: 600;
}

/* Scaled up from 0.8rem -> 1rem */
.status-footer {
    font-size: 1rem;
    color: #718096;
    margin-top: 0.75rem;
}