@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap");

:root {
  --page: #080808;
  --panel: #111111;
  --panel-2: #181818;
  --panel-3: #202020;
  --ink: #f0ede6;
  --muted: #8f8b84;
  --dim: #5d5952;
  --gold: #b8975a;
  --gold-2: #d0b36e;
  --line: #292929;
  --line-strong: #b8975a;
  --navy: #0d1e35;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Libre Franklin", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.spr-site-header,
.page-shell,
.spr-site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--page);
}

.spr-site-header {
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0 14px;
}

.brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -2px;
}

.brand-mark em {
  color: var(--gold);
}

.header-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 330px;
  text-align: left;
  color: var(--gold);
  font-size: 8.5px;
  line-height: 1.75;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.header-meta strong {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.header-actions,
.year-nav,
.archive-jump {
  display: none;
}

.page-shell {
  min-height: 100vh;
  padding: 0 0 64px;
}

.spotlight {
  padding-top: 28px;
}

.qlabel,
.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.qlabel::after,
.section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.section-label {
  display: none;
}

.cur-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  padding-bottom: 0;
}

.cur-card,
.q-card,
.month-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.cur-card:hover,
.q-card:hover,
.month-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.cur-img {
  overflow: hidden;
  background: var(--panel-3);
}

.cur-card:nth-child(1) .cur-img,
.cur-card:nth-child(3) .cur-img {
  height: 240px;
}

.cur-card:nth-child(2) .cur-img {
  height: 380px;
}

.cur-img img,
.q-cover img,
.month-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.42s ease;
}

.cur-card:hover .cur-img img,
.q-card:hover .q-cover img,
.month-card:hover .month-cover img {
  transform: scale(1.045);
}

.cur-body {
  padding: 14px 16px 18px;
  border-top: 2px solid var(--gold);
  background: var(--panel);
}

.cur-tag,
.issue-month {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cur-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: 0;
}

.cur-card:nth-child(1) .cur-title,
.cur-card:nth-child(3) .cur-title {
  font-size: clamp(18px, 1.7vw, 24px);
  font-size: 15px;
}

.cur-card:nth-child(2) .cur-title {
  max-width: 660px;
  font-size: clamp(18px, 2.4vw, 26px);
}

.cur-desc {
  max-width: 610px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.cur-by {
  margin-top: 10px;
  color: var(--dim);
  font-size: 11px;
  font-style: italic;
}

.current-rail,
.archive-head {
  display: none;
}

[data-archive-overview] {
  border-top: 1px solid var(--line);
}

.year-band {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.year-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.year-head .eyebrow,
.year-intro,
.text-link {
  display: none;
}

.year-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 900;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0;
}

.quarter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  padding: 20px 0 0;
}

.q-card {
  min-height: 0;
  cursor: pointer;
}

.q-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--panel-3);
}

.q-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 36px;
  padding: 4px 8px;
  background: var(--gold);
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover-placeholder,
.month-cover span {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-3);
  color: #3a3a3a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.q-body {
  min-height: 0;
  padding: 10px 12px 12px;
  border-top: 2px solid var(--gold);
}

.q-qtag,
.quarter-label {
  display: block;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.q-months,
.quarter-months {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.year-band[data-year="2022"] .year-head::after {
  content: "Where It Began";
  display: block;
  max-width: 86px;
  margin-top: 8px;
  padding: 3px 7px;
  background: var(--navy);
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.year-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 58px 0 34px;
  border-bottom: 1px solid var(--line);
}

.year-hero h1,
.subscribe h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 7vw, 94px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.year-hero p:not(.eyebrow),
.subscribe p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.back-link,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: #ffffff;
  padding: 13px 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.back-link:hover,
.button:hover {
  transform: translateY(-2px);
  background: #9e7d42;
  border-color: #9e7d42;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.year-quarter {
  padding: 48px 0 58px;
  border-bottom: 1px solid var(--line);
}

.year-quarter-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.year-quarter-head .eyebrow {
  display: block;
  margin: 0;
}

.year-quarter-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.month-card {
  display: grid;
  grid-template-rows: 310px minmax(170px, auto);
}

.month-cover {
  min-height: 310px;
  overflow: hidden;
  background: var(--panel-3);
}

.month-body {
  padding: 17px 18px 20px;
  border-top: 3px solid var(--gold);
  background: var(--panel);
}

.month-body h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.month-body small {
  display: block;
  margin-top: 12px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 44px;
  align-items: center;
  padding: 56px 0 76px;
  border-top: 1px solid var(--line);
}

.subscribe .eyebrow {
  display: block;
}

.subscribe-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subscribe-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  background: var(--panel);
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
}

.subscribe-form input:focus {
  border-color: var(--gold);
}

.subscribe-form input::placeholder {
  color: #4c4c4c;
}

.subscribe-form .email,
.subscribe-form .form-actions,
.subscribe-form > small {
  grid-column: 1 / -1;
}

.subscribe-form .form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.subscribe-form button {
  border: 0;
  cursor: pointer;
}

.subscribe-form small {
  color: var(--dim);
  font-size: 11px;
}

.subscribe-form [hidden] {
  display: none;
}

body.page-template-page-space-report-newsletters .site-header:not(.spr-site-header),
body.page-template-page-space-report-newsletters .site-footer:not(.spr-site-footer) {
  display: none !important;
}

body.space-report-shortcode-page {
  background: var(--page);
}

.space-report-shortcode {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
  background: var(--page);
}

.space-report-shortcode .spr-site-header,
.space-report-shortcode .page-shell,
.space-report-shortcode .spr-site-footer {
  width: min(1160px, calc(100% - 32px));
}

body.space-report-shortcode-page .site-header:not(.spr-site-header),
body.space-report-shortcode-page .site-footer:not(.spr-site-footer),
body.space-report-shortcode-page header:not(.spr-site-header):not(.spr-site-footer),
body.space-report-shortcode-page footer:not(.spr-site-footer) {
  display: none !important;
}

body.space-report-shortcode-page .site-content,
body.space-report-shortcode-page .content-area,
body.space-report-shortcode-page .entry-content,
body.space-report-shortcode-page .ast-container,
body.space-report-shortcode-page .elementor-section-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--page) !important;
}

body.space-report-shortcode-page .entry-title {
  display: none !important;
}

body.page-template-page-space-report-newsletters .ast-container {
  max-width: none;
  padding: 0;
}

body.page-template-page-space-report-newsletters #content {
  background: var(--page);
}

.spr-site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  color: var(--dim);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.issue-page-hero {
  padding-bottom: 28px;
}

.newsletter-sheet {
  width: min(700px, 100%);
  margin: 42px auto 24px;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.newsletter-full-image {
  width: 100%;
  height: auto;
}

.newsletter-hero {
  min-height: 280px;
  background: #d6d6d6;
}

.newsletter-hero img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
}

.newsletter-intro {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 36px;
  padding: 36px 42px 30px;
}

.newsletter-portrait {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e5df;
  color: #c2b18d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 72px;
  font-weight: 900;
}

.newsletter-letter h2,
.report-card h3 {
  margin: 0 0 16px;
  color: #171717;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.newsletter-letter p,
.property-column p,
.report-card p {
  margin: 0 0 16px;
  color: #343434;
  font-size: 13px;
  line-height: 1.6;
}

.newsletter-letter .signature {
  margin-top: 26px;
  color: #6d6d6d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  text-align: center;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 28px;
  padding: 0 42px 44px;
}

.property-column {
  border-right: 1px solid #9d9d9d;
  padding-right: 22px;
}

.property-column p:last-child {
  margin-top: 28px;
  color: #111111;
  font-weight: 800;
  text-align: center;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.report-card {
  border: 1px solid #2d2d2d;
  padding: 22px;
}

.report-card h3 {
  text-align: center;
  text-transform: uppercase;
}

.read-more {
  display: block;
  color: #14235d;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.newsletter-brand-footer {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0d1e35;
  color: #ffffff;
  text-align: center;
}

.script-logo {
  color: #d8def0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-style: italic;
}

.newsletter-brand-footer strong {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.newsletter-brand-footer span {
  color: #b8c2d7;
  font-size: 11px;
}

.issue-source-actions {
  width: min(700px, 100%);
  margin: 18px auto 72px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1180px) {
  .cur-grid {
    grid-template-columns: 1fr;
  }

  .cur-card:nth-child(1) .cur-img,
  .cur-card:nth-child(2) .cur-img,
  .cur-card:nth-child(3) .cur-img {
    height: min(58vw, 520px);
  }

  .cur-body {
    min-height: auto;
  }

  .year-band {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 24px;
  }

  .quarter-grid,
  .month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 18px 18px;
  }

  .brand-mark {
    font-size: clamp(38px, 13vw, 60px);
  }

  .header-meta {
    max-width: none;
  }

  .page-shell {
    padding: 0 14px;
  }

  .spotlight {
    padding-top: 34px;
  }

  .year-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 42px 0;
  }

  .year-head h2 {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(54px, 18vw, 86px);
  }

  .year-band[data-year="2022"] .year-head::after {
    max-width: none;
  }

  .quarter-grid,
  .month-grid,
  .year-hero,
  .subscribe {
    grid-template-columns: 1fr;
  }

  .q-cover,
  .month-cover {
    height: 320px;
    min-height: 320px;
  }

  .month-card {
    grid-template-rows: 320px auto;
  }

  .subscribe-form,
  .subscribe-form .form-actions {
    grid-template-columns: 1fr;
  }

  .newsletter-intro,
  .newsletter-content {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .property-column {
    border-right: 0;
    border-bottom: 1px solid #9d9d9d;
    padding-right: 0;
    padding-bottom: 18px;
  }
}

@media (max-width: 520px) {
  .cur-card:nth-child(1) .cur-img,
  .cur-card:nth-child(2) .cur-img,
  .cur-card:nth-child(3) .cur-img,
  .q-cover,
  .month-cover {
    height: 260px;
    min-height: 260px;
  }

  .month-card {
    grid-template-rows: 260px auto;
  }

  .cur-card:nth-child(2) .cur-title {
    font-size: 31px;
  }
}
