/*
Theme Name: Satellite Coordination
Theme URI: https://satellitecoordination.org/
Author: Satellite Coordination
Description: A modern, responsive one-page WordPress theme for NASA satellite pre-coordination information and authorized workspace access.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: satellite-coordination
Tags: one-column, custom-logo, custom-menu, featured-images, accessibility-ready, block-styles
*/

:root {
  --sat-navy: #061c3f;
  --sat-navy-2: #0a2349;
  --sat-blue: #0b3d91;
  --sat-cyan: #35b7ff;
  --sat-white: #ffffff;
  --sat-ink: #14213d;
  --sat-muted: #5e6b7d;
  --sat-line: #dce5ef;
  --sat-surface: #f4f7fb;
  --sat-radius: 18px;
  --sat-shadow: 0 18px 50px rgba(5, 23, 51, .13);
  --sat-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sat-ink);
  background: var(--sat-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--sat-blue); }
a:hover { color: #075fc1; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; z-index: 100000;
  padding: 12px 16px; color: #000; background: #fff; border-radius: 6px;
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(6, 28, 63, .94);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 40px), var(--sat-content)); min-height: 82px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; background: rgba(255,255,255,.1); }
.custom-logo { max-height: 52px; width: auto; }
.site-title { font-size: 1.02rem; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 650; font-size: .95rem; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; }
.nav-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; color: #061c3f !important; background: #fff; border-radius: 999px; font-weight: 800 !important; }
.nav-toggle { display: none; padding: 9px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; }
.nav-toggle svg { display: block; }

.hero {
  position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden;
  color: #fff; background: #061c3f center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,34,.90) 0%, rgba(3,20,46,.72) 43%, rgba(3,20,46,.28) 75%, rgba(3,20,46,.25) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; background: linear-gradient(transparent, rgba(6,28,63,.76)); }
.hero-inner { position: relative; z-index: 2; width: min(calc(100% - 40px), var(--sat-content)); margin: 0 auto; padding: 150px 0 110px; }
.hero-content { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 850; color: #b8e7ff; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--sat-cyan); }
.hero h1 { margin: 0; font-size: clamp(3.25rem, 7vw, 6.3rem); line-height: .98; letter-spacing: -.055em; max-width: 820px; }
.hero-subtitle { max-width: 700px; margin: 26px 0 0; font-size: clamp(1.15rem, 2vw, 1.45rem); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #061c3f; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.button-primary:hover { color: #061c3f; background: #eaf8ff; }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-secondary:hover { color: #fff; background: rgba(255,255,255,.16); }
.hero-note { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.74); }

.section { padding: 100px 0; scroll-margin-top: 78px; }
.section-inner { width: min(calc(100% - 40px), var(--sat-content)); margin: 0 auto; }
.section-kicker { margin: 0 0 10px; color: var(--sat-blue); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-title { margin: 0; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.04em; color: var(--sat-navy); }
.section-lead { max-width: 790px; margin: 22px 0 0; color: var(--sat-muted); font-size: 1.18rem; }

.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.orbit-card { position: relative; min-height: 370px; border-radius: 28px; background: radial-gradient(circle at center, #1357a8 0 14%, #0a326f 15% 26%, #071d42 27% 100%); overflow: hidden; box-shadow: var(--sat-shadow); }
.orbit-card::before, .orbit-card::after { content: ""; position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(109,211,255,.45); border-radius: 50%; transform: translate(-50%,-50%) rotate(-18deg); }
.orbit-card::before { width: 74%; height: 36%; }
.orbit-card::after { width: 92%; height: 56%; transform: translate(-50%,-50%) rotate(28deg); }
.earth { position: absolute; width: 105px; height: 105px; inset: 50% auto auto 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle at 30% 30%, #9be9ff, #1c8ed1 42%, #0b3d91 70%); box-shadow: 0 0 45px rgba(53,183,255,.55); }
.satellite-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px #6dd3ff; }
.satellite-dot.one { top: 27%; left: 20%; }
.satellite-dot.two { top: 34%; right: 16%; }
.satellite-dot.three { bottom: 22%; left: 38%; }

.process-section { background: var(--sat-surface); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.process-card { position: relative; padding: 34px; background: #fff; border: 1px solid var(--sat-line); border-radius: var(--sat-radius); box-shadow: 0 10px 28px rgba(6,28,63,.06); }
.step-number { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 50%; color: #fff; background: var(--sat-blue); font-weight: 850; }
.process-card h3 { margin: 0 0 10px; color: var(--sat-navy); font-size: 1.3rem; }
.process-card p { margin: 0; color: var(--sat-muted); }

.notice-wrap { display: grid; grid-template-columns: .75fr 1.25fr; border-radius: 28px; overflow: hidden; background: var(--sat-navy); box-shadow: var(--sat-shadow); }
.notice-label { min-height: 100%; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(145deg, #0b3d91, #1168b8); }
.notice-label span { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 850; color: #b8e7ff; }
.notice-label strong { font-size: 2rem; line-height: 1.1; letter-spacing: -.03em; }
.notice-content { padding: 48px; color: #fff; }
.notice-content h2 { margin-top: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.15; }
.notice-content p { color: rgba(255,255,255,.8); }
.notice-content .button { margin-top: 12px; }

.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.resource-card { min-height: 230px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: var(--sat-ink); border: 1px solid var(--sat-line); border-radius: var(--sat-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.resource-card:hover { color: var(--sat-ink); transform: translateY(-5px); border-color: #9ed9f8; box-shadow: var(--sat-shadow); }
.resource-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 14px; color: var(--sat-blue); background: #eaf5ff; }
.resource-card h3 { margin: auto 0 5px; color: var(--sat-navy); font-size: 1.2rem; }
.resource-card p { margin: 0; color: var(--sat-muted); font-size: .95rem; }

.contact-section { color: #fff; background: linear-gradient(135deg, #061c3f, #0b3d91); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.contact-section .section-title { color: #fff; }
.contact-section .section-kicker { color: #84d7ff; }
.contact-section .section-lead { color: rgba(255,255,255,.75); }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: block; padding: 20px 22px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.07); }
.contact-item:hover { color: #fff; background: rgba(255,255,255,.12); }
.contact-item small { display: block; color: #9edfff; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.contact-item strong { font-size: 1.06rem; }

.site-footer { padding: 30px 0; color: rgba(255,255,255,.66); background: #031126; font-size: .9rem; }
.footer-inner { width: min(calc(100% - 40px), var(--sat-content)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-inner a { color: #fff; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 600; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--sat-blue); border: 0; border-radius: 50%; box-shadow: 0 12px 28px rgba(0,0,0,.25); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.default-content { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 150px 0 90px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 74px; left: 20px; right: 20px; display: none; padding: 22px; border-radius: 16px; background: rgba(6,28,63,.98); box-shadow: var(--sat-shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 7px; }
  .primary-nav a { display: block; padding: 10px; }
  .nav-login { margin-top: 8px; }
  .intro-grid, .notice-wrap, .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .notice-label { min-height: 220px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { width: min(calc(100% - 28px), var(--sat-content)); min-height: 72px; }
  .site-title { font-size: .92rem; }
  .hero { min-height: 690px; background-position: 61% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,15,34,.93), rgba(3,20,46,.68)); }
  .hero-inner { width: min(calc(100% - 28px), var(--sat-content)); padding-top: 130px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.1rem); }
  .hero-actions .button { width: 100%; }
  .section { padding: 76px 0; }
  .section-inner { width: min(calc(100% - 28px), var(--sat-content)); }
  .resources-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 190px; }
  .notice-label, .notice-content { padding: 32px 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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