﻿/*
Theme Name: Swingby
Theme URI: https://swingby.me/
Author: Swingby
Description: Swingby blog custom theme. Keeps WordPress editor content manageable while applying the Swingby layout automatically.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: swingby
*/

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --navy: #03142b;
  --navy-2: #062b5f;
  --blue: #159bff;
  --blue-soft: #e8f4ff;
  --ink: #151a23;
  --muted: #667085;
  --line: #e6ecf3;
  --soft: #f5f8fc;
  --white: #ffffff;
  --green-soft: #edf8f3;
  --amber-soft: #fff8e8;
  --max: 1120px;
  --article: 740px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-wordmark {
  width: 116px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #344054;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.nav li,
.footer-links li {
  list-style: none;
}
.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a.is-active,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: var(--navy);
  border-bottom-color: var(--blue);
}
.search-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}
.section-title p {
  width: min(520px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-align: right;
  word-break: keep-all;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 20, 43, 0.95), rgba(3, 20, 43, 0.66) 52%, rgba(3, 20, 43, 0.08)),
    url("./assets/swingby-hero.jpg") center right / cover no-repeat;
}
.hero.orbit {
  background:
    linear-gradient(90deg, rgba(3, 20, 43, 0.96), rgba(3, 20, 43, 0.68) 48%, rgba(3, 20, 43, 0.04)),
    url("./assets/swingby-orbit-hero.jpg") center right / cover no-repeat;
}
.hero .section {
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-copy { width: min(620px, 100%); }
.eyebrow {
  margin: 0 0 18px;
  color: #b9ddff;
  font-size: 14px;
  font-weight: 800;
}
h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 900;
}
.hero p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.7;
  word-break: keep-all;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}
.button.primary { background: var(--white); color: var(--navy); }
.button.secondary { border: 1px solid rgba(255, 255, 255, 0.34); color: var(--white); }
.button.outline { border: 1px solid var(--line); color: var(--navy); background: var(--white); }

.category-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}
.category-card {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-card.featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(3, 20, 43, 0.97), rgba(6, 43, 95, 0.92)),
    url("./assets/swingby-symbol.png") right -70px bottom -70px / 270px auto no-repeat;
  border-color: var(--navy);
}
.meta {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.featured .meta { color: #9fd1ff; }
.category-card h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  line-height: 1.28;
}
.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
}
.featured p { color: rgba(255, 255, 255, 0.78); }
.category-card strong {
  margin-top: 24px;
  color: var(--navy);
  font-size: 14px;
}
.featured strong { color: var(--white); }

.series-band,
.soft-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.series-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
}
.series-layout h2,
.hub-copy h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.28;
}
.series-layout p,
.hub-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}
.post-list { display: grid; gap: 12px; }
.post-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.post-no {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 900;
}
.post-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.4;
}
.post-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}
.thumb {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(3, 20, 43, 0.94), rgba(21, 155, 255, 0.48)),
    url("./assets/swingby-og.jpg") center / cover no-repeat;
}
.article-card.alt-1 .thumb { background: linear-gradient(135deg, #f0f5f8, #d9e9ed); }
.article-card.alt-2 .thumb { background: linear-gradient(135deg, #f7f4ef, #e8dfd1); }
.article-body { padding: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--soft);
  color: #475467;
  font-size: 12px;
  font-weight: 900;
}
.article-body h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  line-height: 1.42;
}
.article-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
  word-break: keep-all;
}
.side-panel {
  display: grid;
  gap: 16px;
}
.side-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.side-box h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}
.side-box ol,
.side-box ul {
  margin: 0;
  padding-left: 18px;
  color: #344054;
  font-size: 14px;
  line-height: 1.75;
}
.side-box li + li { margin-top: 8px; }
.ad-box {
  min-height: 220px;
  display: none;
  place-items: center;
  border: 1px dashed #ccd6e2;
  background: #fbfcfe;
  color: #98a2b3;
  font-size: 13px;
  font-weight: 800;
}

.hub-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}
.hub-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hub-link {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.hub-link strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}
.hub-link span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-head {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.page-head .section {
  padding: 64px 0;
}
.page-head h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 58px);
}
.page-head p {
  width: min(680px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.filter-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}
.filter-row a.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.list-stack { display: grid; gap: 12px; }
.list-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.list-item h2 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}
.list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.article-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, var(--article)) 300px;
  gap: 48px;
  align-items: start;
  justify-content: center;
}
.article-shell {
  width: 100%;
  padding: 76px 0;
}
.article-kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}
.article-shell h1 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.18;
}
.summary {
  margin: 16px 0 0;
  color: #475467;
  font-size: 19px;
  line-height: 1.75;
  word-break: keep-all;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.toc {
  margin: 34px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.toc strong { display: block; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; line-height: 1.9; }
.toc a {
  color: #344054;
  font-weight: 700;
}
.toc a:hover {
  color: var(--blue);
}
.toc .toc-level-3 {
  margin-left: 16px;
  color: var(--muted);
  font-size: 15px;
}
.side-toc .toc-level-3 {
  margin-left: 12px;
  color: var(--muted);
  font-size: 13px;
}
.article-content h2 {
  margin: 42px 0 12px;
  font-size: 25px;
  line-height: 1.35;
}
.article-content p {
  margin: 0 0 18px;
  color: #2b3340;
  font-size: 18px;
  line-height: 1.85;
  word-break: keep-all;
}
.note {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--blue-soft);
}
.note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}
.note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}
.note.warning { border-left-color: #9a6b12; background: var(--amber-soft); }
.note.result { border-left-color: #2b8a66; background: var(--green-soft); }
.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 76px 0;
}

.about-band {
  color: var(--white);
  background: var(--navy);
}
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.about-image {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}
.about-copy h2 {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1.28;
}
.about-copy p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.82;
  word-break: keep-all;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links ul,
.nav ul {
  display: contents;
  margin: 0;
  padding: 0;
}
.article-layout.no-sidebar {
  grid-template-columns: minmax(0, var(--article));
}
.article-featured-image {
  margin: 34px 0 0;
  overflow: hidden;
  border-radius: 8px;
}
.article-featured-image img {
  width: 100%;
  height: auto;
}
.article-content h3 {
  margin: 34px 0 10px;
  font-size: 21px;
  line-height: 1.38;
}
.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: #2b3340;
  font-size: 18px;
  line-height: 1.85;
  word-break: keep-all;
}
.article-content li + li {
  margin-top: 6px;
}
.article-content blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--blue);
  color: #344054;
}
.article-content blockquote p {
  font-size: 19px;
  font-weight: 700;
}
.article-content img {
  width: auto;
  height: auto;
  border-radius: 8px;
}
.article-content figure {
  margin: 30px 0;
}
.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.article-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.article-content .alignwide,
.article-content .alignfull {
  width: 100%;
}
.page-links,
.pagination,
.comments-wrap {
  margin-top: 34px;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination a,
.pagination span,
.page-links a,
.page-links span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}
.pagination .current,
.page-links .current {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.comments-area {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.comments-area h2,
.comment-reply-title {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.35;
}
.comment-respond {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}
.comment-respond .logged-in-as,
.comment-notes {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.comment-respond .logged-in-as a,
.comment-notes a {
  color: var(--navy);
  font-weight: 800;
}
.comment-list {
  margin: 0 0 34px;
  padding-left: 20px;
}
.comment-list li {
  margin-bottom: 18px;
}
.comment-form {
  display: grid;
  gap: 14px;
}
.comment-form p {
  margin: 0;
}
.comment-form label {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}
.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.comment-form textarea {
  min-height: 180px;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(21, 155, 255, 0.55);
  outline: 3px solid rgba(21, 155, 255, 0.12);
}
.comment-form input[type="submit"] {
  justify-self: start;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  min-height: 46px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}
.comment-form input[type="submit"]:hover {
  background: #062b5f;
}

.dark-page {
  color: rgba(255, 255, 255, 0.88);
  background: #020713;
}
.dark-page .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 7, 19, 0.82);
}
.dark-page .brand-wordmark {
  filter: invert(1);
}
.dark-page .nav {
  color: rgba(255, 255, 255, 0.72);
}
.dark-page .nav a:hover,
.dark-page .nav a.is-active,
.dark-page .nav .current-menu-item > a,
.dark-page .nav .current_page_item > a {
  color: var(--white);
}
.dark-page .search-link {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.dark-page .footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: #020713;
}
.dark-page .footer-inner {
  color: rgba(255, 255, 255, 0.62);
}
.about-space-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.1), rgba(2, 7, 19, 0.94) 88%),
    linear-gradient(90deg, rgba(2, 7, 19, 0.9), rgba(2, 7, 19, 0.46) 48%, rgba(2, 7, 19, 0.08)),
    url("./assets/about-options/about-c2-probe.jpg") center / cover no-repeat;
}
.about-space-hero .section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 96px 0 84px;
}
.about-space-copy {
  width: min(720px, 100%);
}
.about-space-copy h1 {
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
}
.about-space-copy p {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.8;
  word-break: keep-all;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(21, 155, 255, 0.9));
}
.story-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(21, 155, 255, 0.16), transparent 30%),
    radial-gradient(circle at 82% 64%, rgba(21, 155, 255, 0.12), transparent 28%),
    #020713;
}
.story-section .section {
  padding: 96px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}
.story-index {
  position: sticky;
  top: 112px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.8;
}
.story-index strong {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}
.story-copy {
  display: grid;
  gap: 72px;
}
.story-chapter {
  padding-bottom: 2px;
}
.story-chapter .chapter-no {
  display: inline-flex;
  margin-bottom: 18px;
  color: #8fd0ff;
  font-size: 13px;
  font-weight: 900;
}
.story-chapter h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}
.story-chapter p {
  width: min(760px, 100%);
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.95;
  word-break: keep-all;
}
.story-note {
  margin-top: 34px;
  padding: 24px 26px;
  border: 1px solid rgba(143, 208, 255, 0.24);
  border-radius: 8px;
  background: rgba(7, 18, 40, 0.68);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.story-note strong {
  display: block;
  margin-bottom: 8px;
  color: #d6ecff;
}
.story-note p {
  margin: 0;
  font-size: 17px;
}
.story-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.story-cta .button.primary {
  background: var(--white);
  color: var(--navy);
}
.story-cta .button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}
.about-prose-page {
  min-height: calc(100vh - 72px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.08), rgba(2, 7, 19, 0.62) 46%, rgba(2, 7, 19, 0.82) 100%),
    linear-gradient(90deg, rgba(2, 7, 19, 0.74), rgba(2, 7, 19, 0.34) 46%, rgba(2, 7, 19, 0.02)),
    url("./assets/about-options/about-c2-probe.jpg") center top / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}
.about-prose {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0 84px;
}
.about-prose .eyebrow {
  margin-bottom: 18px;
}
.about-prose h1 {
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
}
.about-prose .lead {
  margin: 24px 0 70px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.8;
  word-break: keep-all;
}
.about-prose-text {
  padding: 34px 0 0;
}
.about-prose-text p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.95;
  word-break: keep-all;
}
.mobile-inline-space {
  display: none;
}
.about-prose-text .orbit-caption {
  margin: 42px 0;
  padding: 22px 24px;
  border: 1px solid rgba(143, 208, 255, 0.24);
  border-radius: 8px;
  background: rgba(7, 18, 40, 0.58);
  color: #d6ecff;
  font-size: 17px;
  font-weight: 800;
}
.about-prose-text .closing {
  margin-top: 44px;
  color: var(--white);
  font-size: 23px;
  font-weight: 700;
}
.about-prose-text .closing-prefix {
  margin-bottom: 4px;
}
.about-prose-text .closing-prefix + .closing {
  margin-top: 0;
}
.popular-posts-dark {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 120px;
}
.popular-posts-dark .section-title {
  margin-bottom: 20px;
}
.popular-posts-dark .section-title h2 {
  color: var(--white);
}
.popular-posts-dark .section-title p {
  color: rgba(255, 255, 255, 0.58);
}
.popular-posts-dark .article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.popular-posts-dark .thumb {
  aspect-ratio: 16 / 6;
}
.popular-posts-dark .article-body {
  padding: 15px;
}
.popular-posts-dark .article-body h3 {
  margin: 12px 0 6px;
  font-size: 17px;
  line-height: 1.38;
}
.popular-posts-dark .article-body p {
  font-size: 13px;
  line-height: 1.58;
}
.dark-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 18, 40, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}
.dark-card .article-body h3 {
  color: var(--white);
}
.dark-card .article-body p {
  color: rgba(255, 255, 255, 0.62);
}
.dark-card .chip {
  background: rgba(143, 208, 255, 0.16);
  color: #b9ddff;
}

@media (max-width: 920px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .search-link {
    position: absolute;
    right: 20px;
    top: 16px;
  }
  .hero {
    background:
      linear-gradient(180deg, rgba(3, 20, 43, 0.96), rgba(3, 20, 43, 0.74)),
      url("./assets/swingby-hero.jpg") center / cover no-repeat;
  }
  .hero.orbit {
    background:
      linear-gradient(180deg, rgba(3, 20, 43, 0.96), rgba(3, 20, 43, 0.74)),
      url("./assets/swingby-orbit-hero.jpg") center / cover no-repeat;
  }
  .category-grid,
  .series-layout,
  .content-grid,
  .hub-grid,
  .article-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
  .article-layout { gap: 0; }
  .article-sidebar {
    position: static;
    padding: 0 0 56px;
  }
  .about-space-hero,
  .about-space-hero .section {
    min-height: 720px;
  }
  .about-prose {
    padding-top: 88px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story-index {
    position: static;
  }
  .section-title { display: block; }
  .section-title p {
    margin-top: 10px;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section,
  .article-layout,
  .footer-inner {
    width: calc(100% - 28px);
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .brand-wordmark { width: 104px; }
  .hero .section {
    min-height: 480px;
    padding: 60px 0;
    align-items: end;
  }
  h1 { font-size: 52px; }
  .hero p:not(.eyebrow) { font-size: 17px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 56px 0; }
  .section-title h2,
  .series-layout h2,
  .hub-copy h2,
  .about-copy h2 {
    font-size: 26px;
  }
  .article-grid,
  .hub-links {
    grid-template-columns: 1fr;
  }
  .post-row {
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .post-no {
    width: 46px;
    height: 46px;
  }
  .article-shell { padding: 64px 0; }
  .article-shell h1 { font-size: 34px; }
  .summary { font-size: 17px; }
  .article-content h2 { font-size: 22px; }
  .article-content p {
    font-size: 17px;
    line-height: 1.82;
  }
  .comment-respond {
    padding: 18px;
  }
  .comment-form textarea {
    min-height: 150px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 0;
  }
  .about-space-copy p,
  .story-chapter p {
    font-size: 17px;
  }
  .about-prose .lead,
  .about-prose-text p {
    font-size: 17px;
  }
  .about-prose-text p {
    margin-bottom: 26px;
    line-height: 1.9;
  }
  .about-prose-text .pc-break {
    display: none;
  }
  .about-prose-text .mobile-inline-space {
    display: inline;
  }
  .about-prose-page {
    background-attachment: scroll, scroll, scroll;
    background-position: center top;
  }
  .popular-posts-dark {
    width: calc(100% - 28px);
    padding-bottom: 78px;
  }
  .popular-posts-dark .article-grid {
    grid-template-columns: 1fr;
  }
  .popular-posts-dark .thumb {
    aspect-ratio: 16 / 8;
  }
  .story-section .section {
    padding: 72px 0;
  }
  .story-copy {
    gap: 54px;
  }
}

