/* =========================================================
   Astronoma project page — overlay styles on top of home.css
   Reuses .feature__* type, .more-projects, .project-card,
   .footer, and .nav from the homepage stylesheet.
   ========================================================= */

/* ---------- 1. HERO ---------- */
.astro-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: #000;
  overflow: hidden;
}
.astro-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.astro-hero__chevron {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
  transition: opacity 200ms var(--ease, ease);
  text-decoration: none;
}
.astro-hero__chevron:hover { opacity: 0.6; }

/* ---------- 2. ROUND PATCH BAND ---------- */
.astro-mark-band {
  background: #000;
  padding: clamp(60px, 9vh, 100px) var(--gutter);
  text-align: center;
}
.astro-mark {
  margin: 0 auto;
  max-width: 280px;
}
.astro-mark img {
  width: 100%;
  height: auto;
  display: block;
}

/* Thin red and grey horizontal rules used throughout the page */
.astro-rule {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: 1px;
  margin: clamp(30px, 5vh, 50px) auto;
  background: #b81e1e;
}
.astro-rule--red  { background: #b81e1e; }
.astro-rule--grey { background: rgba(255,255,255,0.18); }

/* ---------- 3 / 7 / 9 / 16. STATEMENT BLOCKS — index typography, flush left ---------- */
.astro-statement {
  padding: clamp(80px, 12vh, 140px) calc(var(--gutter) + 70px);
  text-align: left;
}
.astro-statement--dark {
  background: #000;
  color: #fff;
  max-width: none;
  box-shadow: -100vmax 0 0 #000, 100vmax 0 0 #000;
  clip-path: inset(0 -100vmax);
}
.astro-statement--light {
  background: #fff;
  color: var(--ink);
  max-width: none;
}
.astro-statement__title {
  margin: 0 0 clamp(24px, 4vh, 36px);
  max-width: 900px;
  font-family: var(--f-sans);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.astro-statement--dark .astro-statement__title { color: #fff; }
.astro-statement__body {
  margin: 0 0 1.4em;
  max-width: 900px;
  font-family: var(--f-sans);
  font-size: clamp(19px, 1.3vw, 21px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.012em;
}
.astro-statement--dark .astro-statement__body { color: rgba(255,255,255,0.92); }
.astro-statement--light .astro-statement__body { color: var(--ink-soft); }

/* Credit blocks — flush left */
.astro-credit {
  margin: clamp(28px, 4vh, 44px) 0 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}
.astro-credit p { margin: 0; }
.astro-credit strong { font-weight: 700; color: #fff; }
.astro-credit--light { color: var(--mute); }
.astro-credit--light strong { color: var(--ink); }

.astro-credit-inline {
  margin: clamp(20px, 3vh, 32px) 0 0;
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.astro-credit-inline strong { font-weight: 700; }

/* ---------- 4 / 13. TWO-COLUMN SPLITS ---------- */
.astro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  max-width: none;
  position: relative;
  background-color: #000;
  background-image: var(--astro-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.astro-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.astro-split > * { position: relative; z-index: 1; }
.astro-split--reverse .astro-split__copy { order: 1; }
.astro-split--reverse .astro-split__media { order: 2; }
.astro-split--light {
  background: #fff;
  color: var(--ink);
}
.astro-split--light::before { display: none; }
.astro-split--light .feature__title { color: var(--ink); }
.astro-split--light .feature__body { color: var(--ink-soft); }

.astro-split__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.astro-split__media video,
.astro-split__media img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Section 4 — Spaceman portrait video */
.astro-split:not(.astro-split--light) .astro-split__media video {
  max-width: 320px;
  width: 100%;
}

.astro-split__copy {
  max-width: 540px;
  margin: 0;
  text-align: left;
}
.astro-split__copy .feature__title {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.astro-split__copy .feature__body {
  font-size: clamp(19px, 1.3vw, 21px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.012em;
}
.astro-split:not(.astro-split--light) .feature__title { color: #fff; }
.astro-split:not(.astro-split--light) .feature__body { color: rgba(255,255,255,0.88); }

@media (max-width: 900px) {
  .astro-split { grid-template-columns: 1fr; gap: 32px; }
  .astro-split--reverse .astro-split__copy { order: 2; }
  .astro-split--reverse .astro-split__media { order: 1; }
}

/* ---------- 5. NOLA EVENT VIDEO — no padding around video ---------- */
.feature--astro-video {
  background: #000;
  color: #fff;
  max-width: none;
  padding: 0;
  box-shadow: -100vmax 0 0 #000, 100vmax 0 0 #000;
  clip-path: inset(0 -100vmax);
}
.feature--astro-video .feature__cover { margin: 0; padding: 0; }
.feature--astro-video .feature__copy {
  padding: clamp(60px, 9vh, 100px) calc(var(--gutter) + 70px) clamp(80px, 12vh, 120px);
}
.feature--astro-video .feature__title { color: #fff; }
.feature--astro-video .feature__body { color: rgba(255,255,255,0.85); }
.astro-video--nola {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #000;
  font-size: 0;
  line-height: 0;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
}
.astro-video--nola video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 6. THREE-IMAGE STACK ---------- */
.astro-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #000;
}
.astro-stack figure {
  margin: 0;
  width: 100%;
}
.astro-stack img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 8 / 10 / 12 / 14. FULL-WIDTH IMAGE ---------- */
.astro-fullwidth {
  background: #000;
}
.astro-fullwidth img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 11. PAIR (poster + signage) ---------- */
.astro-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}
.astro-pair__col {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.astro-pair__col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.astro-pair__col figcaption {
  text-align: left;
}
.astro-pair__title {
  margin: 0 0 16px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.astro-pair__body {
  margin: 0;
  max-width: 460px;
  font-family: var(--f-sans);
  font-size: clamp(19px, 1.3vw, 21px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.012em;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .astro-pair { grid-template-columns: 1fr; }
}

/* ---------- 15. CENTERED IMAGE (grid-width) ---------- */
.astro-centered-image {
  background: #000;
  padding: clamp(60px, 9vh, 100px) var(--gutter);
  text-align: center;
}
.astro-centered-image img {
  max-width: 1200px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- 17. CLOSING STATEMENT (bg image + overlay) ---------- */
.astro-closing {
  position: relative;
  padding: clamp(120px, 18vh, 200px) calc(var(--gutter) + 70px);
  min-height: 700px;
  background-color: #000;
  background-image: var(--astro-bg);
  background-size: cover;
  background-position: center;
  max-width: none;
  color: #fff;
  display: flex;
  align-items: center;
}
.astro-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.astro-closing__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.astro-closing__body {
  margin: 0 0 1.4em;
  max-width: 900px;
  font-family: var(--f-sans);
  font-size: clamp(19px, 1.3vw, 21px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.012em;
  color: #fff;
}
.astro-closing__body:last-child { margin-bottom: 0; }
