.frontier-masthead .nav-shell { width: min(1440px,calc(100% - 72px)); height: auto; min-height: 76px; gap: 25px; }
.collection-wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; }
.collection-wordmark .wordmark-icon { flex: 0 0 auto; }
.collection-wordmark b { display: block; font-size: 21px; font-weight: 720; letter-spacing: -.065em; line-height: 1.05; }
.collection-wordmark > i { color: #8a959b; font-size: 15px; font-style: normal; }
.frontier-brand,.publisher-mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.publisher-mark img { width: 99px; height: auto; filter: brightness(0) invert(1); }
.publisher-mark:hover { opacity: .78; }
.frontier-masthead nav { gap: clamp(14px,2.4vw,34px); }
.nav-actions { display:flex; gap:7px; align-items:center; white-space:nowrap; }
.nav-actions .join-link { gap:4px; }
.frontier-masthead nav a { position: relative; }
.frontier-masthead nav a[aria-current=page],.nav-more:has([aria-current=page]) summary { color: var(--accent); }
.nav-more { position:relative; }
.nav-more summary { display:flex; align-items:center; gap:6px; color:#dce0df; font-size:13px; font-weight:575; cursor:pointer; list-style:none; }
.nav-more summary::-webkit-details-marker { display:none; }
.nav-more summary::after { content:""; width:5px; height:5px; border:solid currentColor; border-width:0 1px 1px 0; transform:rotate(45deg); margin-bottom:3px; }
.nav-more[open] summary::after { transform:rotate(225deg); margin-bottom:-2px; }
.nav-more summary:hover { color:var(--accent); }
.nav-more-links {
  display:grid; position:absolute; top:calc(100% + 12px); z-index:3; left:-12px; min-width:160px;
  padding:7px; border:1px solid var(--line); border-radius:8px; background:#14191e; box-shadow:0 12px 32px #0007;
}
.nav-more-links a { padding:8px 10px; border-radius:4px; }
.nav-more-links a:hover,.nav-more-links a:focus-visible { background:var(--surface-hi); }
.frontier-masthead .account-link { white-space: nowrap; }
.frontier-footer { margin-top: 55px; }
.frontier-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.frontier-footer nav a { font-size: 12px; }
.home-hero .hero-inner { min-height: clamp(430px,39vw,595px); }
.home-hero .hero-media img { object-position: 52% 54%; }
.portal-hero .hero-inner { min-height: clamp(360px,40vw,535px); }
.portal-hero .hero-media img { object-position: center 47%; }
.motion-media { isolation: isolate; }
.motion-media img,.motion-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.motion-media img { z-index: 1; }
.motion-media[data-active=true] img { opacity: 0; }
.motion-control { position: absolute; bottom: 21px; left: 0; z-index: 1; min-height: 32px; }
@media (max-width:560px) {
  .publisher-mark img { width: 69px; }
  .collection-wordmark { gap: 6px; }
  .motion-control { bottom: 13px; }
}
.home-live { display: block; background: #151a1e; border-bottom: 1px solid #303a40; text-decoration: none; }
.home-live:hover { background: #1b2228; }
.home-live-inner { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; align-items: center; gap: 14px; min-height: 54px; padding-block: 8px; }
.home-live-inner > span:last-child { color: var(--muted); font-size: 12px; }
.live-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font: 650 10px/1.5 var(--mono); letter-spacing: .07em; }
.live-kicker i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.live-kicker[data-on-air=true] { color: #ff8b86; }
.home-live-inner > strong { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; font-size: 14px; font-weight: 650; }
.home-experiences { padding-top: 47px; }
.home-experiences .section-head h2,.home-missions .section-head h2,.home-editorial .section-head h2 { font-size: clamp(34px,4.7vw,61px); }
.experience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.experience-card { position: relative; min-height: clamp(305px,31vw,435px); display: flex; align-items: end; overflow: hidden; border: 1px solid #3c474e; border-radius: 10px; background: #171f26; color: var(--text); text-decoration: none; isolation: isolate; }
.experience-card img,.experience-card::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.experience-card img { z-index: -2; object-fit: cover; transition: transform .25s ease; }
.experience-card::after { content: ""; z-index: -1; background: linear-gradient(0deg,#0d1217 0%,#0d1217ee 20%,#0d12179c 47%,#0d12170f 81%); }
.experience-card:hover,.experience-card:focus-visible { border-color: #cf926b; }
@media (prefers-reduced-motion:no-preference) { .experience-card:hover img { transform: scale(1.035); } }
.experience-card div { padding: 22px; width: 100%; }
.experience-card div > span,.eyelabel { color: #ffc99f; font: 650 10px/1.4 var(--mono); letter-spacing: .075em; }
.experience-card h3 { font-size: clamp(24px,3vw,44px); font-weight: 630; line-height: 1.05; letter-spacing: -.065em; margin-top: 6px; }
.experience-card p { color: #e0e4e4; font-size: 13px; line-height: 1.45; margin-top: 7px; }
.experience-card b { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; margin-top: 13px; }
.experience-card b i { font-style: normal; color: var(--accent); }
.card-docking img { object-position: 56% 44%; }
.card-crs img { object-position: 48% 47%; }
.card-catch img { object-position: 32% 39%; }
.home-shelf { grid-auto-columns: minmax(215px,24%); }
.home-shelf .shelf-info { padding: 13px; }
.source-line { margin-top: 10px; color: var(--muted); font-size: 11px; }
.source-line a { text-underline-offset: 3px; }
.feature-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.feature-links a { display: grid; align-content: start; gap: 7px; padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; }
.feature-links a:hover { border-color: #a67758; }
.feature-links small { color: var(--accent); font: 650 10px/1.4 var(--mono); letter-spacing: .07em; }
.feature-links strong { font-size: clamp(19px,2.5vw,28px); line-height: 1.1; letter-spacing: -.042em; }
.feature-links span { color: var(--muted); font-size: 13px; }
.update-band { background: linear-gradient(120deg,#1d2226,#281e1b); border-block: 1px solid #4a403b; padding-block: clamp(30px,5vw,58px); margin-top: 40px; }
.signup-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 25px; align-items: center; }
.signup-grid h2 { margin-block: 7px; font-size: clamp(30px,4vw,52px); font-weight: 630; line-height: 1.07; letter-spacing: -.064em; }
.signup-grid > div > p:last-child { color: var(--muted); }
.signup-form { display: grid; gap: 8px; min-width: 0; }
.signup-form label { font-size: 13px; font-weight: 650; }
.signup-form p { color: var(--muted); font-size: 12px; }
.signup-form a { color: var(--accent); }
.signup-row { display: flex; gap: 7px; align-items: stretch; }
.signup-row .button { flex: 0 0 auto; min-height: 45px; }
.signup-row input { flex: 1 1 auto; min-width: 0; }
.signup-row input,.account-panel input[type=email],.calculator input[type=number] { padding: 9px 12px; min-height: 45px; border: 1px solid #52595d; border-radius: 5px; background: #101418; color: var(--text); }
.signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-message { min-height: 20px; }
.form-message[data-state=success] { color: #c4e7ca; }
.form-message[data-state=error] { color: #ffb5a4; }
.page-intro { padding-block: clamp(36px,7vw,90px) clamp(25px,4vw,55px); }
.page-intro h1,.section-page-title { font-size: clamp(46px,7.3vw,98px); max-width: 1000px; }
.page-intro > p:last-of-type { max-width: 620px; color: #c3ccce; font-size: clamp(15px,2vw,20px); margin-top: 13px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.section-page-title { line-height: .99; letter-spacing: -.07em; font-weight: 650; }
.page-intro + .section,.subpage > .section:first-child { border-top: 1px solid var(--line); }
.subpage .section:first-child { padding-top: 43px; }
.mission-intro { padding-bottom: 21px; }
.replay-section { padding-top: 40px; }
.replay-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(215px,.63fr); gap: 16px; align-items: start; }
.replay-stage { border: 1px solid #39464c; border-radius: 8px; background: #15202a; overflow: hidden; }
.replay-stage iframe { display: block; width: 100%; height: min(580px,64vw); min-height: 370px; border: 0; }
.replay-controls { display: grid; gap: 11px; }
.replay-controls .switch { display: grid; grid-template-columns: 1fr; }
.replay-controls .switch button { text-align: left; font-size: 13px; }
.replay-description { color: var(--muted); font-size: 13px; margin-top: 3px; }
.replay-controls .button { width: fit-content; }
.replay-controls [data-watch-replay] { margin-block: 2px 5px; }
.live-desk { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.8fr); gap: 15px; align-items: start; }
.launch-feature,.launch-list,.account-panel,.analytics-panel,.calculator,.briefing { border: 1px solid #39434b; border-radius: 9px; background: var(--surface); }
.launch-feature { overflow: hidden; }
.launch-image { aspect-ratio: 2.65; width: 100%; object-fit: cover; object-position: 48% 48%; }
.launch-embed { width: 100%; display: block; aspect-ratio: 16/9; border: 0; background: #111416; }
.launch-feature-inner { padding: clamp(17px,3vw,33px); }
.launch-feature h2 { font-size: clamp(27px,4vw,49px); line-height: 1.04; letter-spacing: -.06em; margin: 7px 0; }
.launch-feature p { color: #c3cdd1; }
.launch-feature .source-line { color: var(--muted); }
.launch-countdown { margin: 19px 0 5px; color: #ffd3ad; font: 600 clamp(23px,4vw,43px)/1.06 var(--mono); letter-spacing: -.06em; display: block; }
.launch-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.launch-list { padding: 16px; }
.launch-list h2 { font-size: 19px; padding: 0 0 8px; }
.launch-list ol { margin: 0; padding: 0; list-style: none; }
.launch-list li { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 11px 0; }
.schedule-mission { font-size: 14px; font-weight: 720; text-decoration: none; }
.schedule-mission:hover { color: var(--accent); text-decoration: underline; }
.launch-list small { color: var(--muted); font-size: 12px; }
.launch-list p { color: var(--muted); font-size: 13px; padding-block: 4px; }
.live-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.live-note a { color: var(--accent); }
.account-layout { width: min(900px,calc(100% - 42px)); margin: 0 auto; padding: clamp(31px,7vw,85px) 0 18px; }
.account-panel { width: min(540px,100%); margin: auto; padding: clamp(23px,4vw,44px); }
.account-panel h1 { font-size: clamp(38px,6.7vw,66px); }
.account-panel > p { color: #c9d1d3; margin: 12px 0 19px; }
.account-panel .button { margin-top: 5px; }
.account-panel .quiet-link { color: var(--muted); font-size: 12px; margin-top: 17px; }
.account-extra { display: grid; justify-items: start; gap: 12px; margin-top: 18px; }
.account-extra p { color: var(--muted); font-size: 13px; }
.update-options { display: grid; gap: 16px; justify-items: start; border-top: 1px solid var(--line); padding-top: 13px; margin-top: 22px; }
.update-options p,.update-options details { color: var(--muted); font-size: 13px; }
.update-options summary { color: var(--text); cursor: pointer; }
.update-options details p { margin-top: 6px; }
@media (max-width:900px) {
  .frontier-masthead .nav-shell { width: calc(100% - 40px); gap: 15px; }
  .collection-wordmark b { font-size: 19px; }
  .frontier-masthead nav { gap: 12px; }
  .experience-card div { padding: 15px; }
}
@media (max-width:840px) {
  .frontier-masthead .nav-shell { display: grid; grid-template-columns: 1fr max-content; gap: 8px 14px; padding-block: 11px 8px; width: calc(100% - 32px); }
  .frontier-masthead nav { grid-row: 2; grid-column: 1/-1; overflow:visible; padding:4px 0; justify-content:space-between; gap:clamp(7px,2vw,16px); }
  .frontier-masthead nav a,.nav-more summary { font-size: 12px; }
  .nav-more-links { left:0; }
  .frontier-masthead .account-link { min-height: 33px; }
}
@media (max-width:690px) {
  .home-live-inner { grid-template-columns: max-content minmax(0,1fr); gap: 2px 9px; }
  .home-live-inner > span:last-child { grid-column: 2; }
  .experience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .experience-card { min-height: 252px; }
  .experience-card h3 { font-size: clamp(22px,5.5vw,32px); }
  .feature-links,.signup-grid,.replay-grid,.live-desk { grid-template-columns: 1fr; }
  .replay-stage iframe { min-height: 365px; }
  .replay-controls .switch { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:400px) {
  .frontier-masthead .nav-shell { gap:8px; }
  .nav-actions .button { min-height:33px; padding-inline:8px; font-size:11px; }
  .collection-wordmark b { font-size:17px; }
  .publisher-mark img { width:56px; }
}
@media (max-width:370px) { .nav-actions .join-price { display:none; } }
@media (max-width:410px) {
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 240px; }
  .signup-row { flex-direction: column; }
  .signup-row .button { width: fit-content; }
  .home-live-inner > strong { font-size: 12px; }
}
