/* File: /css/hub.css | Version: 1.0.2 | 2026-10-20: preserve complete topic artwork at every responsive width. */
.ox-hub {
  background: var(--hub-paper);
  color: var(--hub-ink);
}

.hub-shell {
  width: min(1260px, calc(100% - 56px));
  margin: 0 auto;
  padding: 62px 0 82px;
}

/* ------------------------------------------------------------
   TOPIC STORY
   ------------------------------------------------------------ */
.hub-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: start;
  padding: 10px 0 82px;
}

.hub-story__copy {
  padding-top: 2px;
}

.hub-story__eyebrow,
.hub-section__eyebrow,
.hub-feature__eyebrow {
  margin: 0 0 14px;
  font-size: var(--fs-xs);
  line-height: 1.2;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--hub-gold-dark);
  font-weight: 700;
}

.hub-story h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5.7vw, 78px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.hub-story__rule {
  width: 38px;
  height: 2px;
  background: var(--hub-gold);
  margin: 28px 0 25px;
}

.hub-story__dek {
  max-width: 720px;
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.54;
  color: var(--hub-deck);
}

.hub-story__body {
  max-width: 735px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-3xl);
  line-height: 1.75;
  color: var(--hub-body);
}

.hub-story__body p { margin: 0 0 1.14em; }
.hub-story__body p:last-child { margin-bottom: 0; }

.hub-story__visual {
  position: sticky;
  top: 32px;
  width: min(100%, 470px);
  justify-self: end;
}

.hub-story__visual-frame {
  position: relative;
  aspect-ratio: 1 / 1.16;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 23%, var(--hub-art-glow), transparent 22%),
    radial-gradient(circle at 42% 58%, var(--hub-art-light), transparent 32%),
    linear-gradient(145deg, var(--hub-plate-start) 0%, var(--hub-plate-middle) 48%, var(--hub-plate-end) 100%);
  border: 1px solid var(--hub-line);
}

/* Topic illustrations keep their composition; empty editorial plates keep their frame. */
.hub-story__visual-frame--image { aspect-ratio: auto; width: min(100%, 470px); margin: 0 auto; }

.hub-story__visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Deliberate fallback art: an editorial plate, never an empty box. */
.hub-art-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hub-art-fallback::before,
.hub-art-fallback::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--hub-orbit-line);
}

.hub-art-fallback::before {
  width: 64%;
  aspect-ratio: 1;
  left: 18%;
  top: 14%;
  box-shadow:
    0 0 0 24px var(--hub-orbit-shadow-near),
    0 0 0 72px var(--hub-orbit-shadow-mid),
    0 0 0 126px var(--hub-orbit-shadow-far);
}

.hub-art-fallback::after {
  width: 7px;
  height: 7px;
  left: calc(50% - 4px);
  top: calc(46% - 4px);
  background: var(--hub-gold);
  border: 0;
  box-shadow: -128px 92px 0 -2px var(--hub-star-near), 118px -82px 0 -2px var(--hub-star-far);
}

.hub-art-fallback__line,
.hub-art-fallback__line::before,
.hub-art-fallback__line::after {
  position: absolute;
  content: "";
  height: 1px;
  background: var(--hub-axis-line);
  transform-origin: left center;
}

.hub-art-fallback__line {
  width: 72%;
  left: 14%;
  top: 46%;
  transform: rotate(-24deg);
}

.hub-art-fallback__line::before { width: 100%; transform: rotate(53deg); }
.hub-art-fallback__line::after  { width: 100%; transform: rotate(112deg); }

.hub-story__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--hub-plate-highlight), transparent 70%);
  box-shadow: inset 0 0 90px var(--hub-plate-shadow);
}

.hub-story__visual-note {
  margin: 12px auto 0;
  max-width: 430px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--hub-muted);
}

/* ------------------------------------------------------------
   FEATURED INVESTIGATION
   ------------------------------------------------------------ */
.hub-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  min-height: 470px;
  margin: 0 0 62px;
  background: var(--hub-feature-bg);
  border: 1px solid var(--hub-line);
}

.hub-feature__media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    linear-gradient(150deg, var(--hub-feature-wash), transparent 46%),
    radial-gradient(circle at 28% 36%, var(--hub-feature-light), transparent 28%),
    var(--hub-feature-media);
}

.hub-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  transition: transform .55s ease;
}

/* Hub artwork is a complete illustration, unlike a cropped article photograph. */
.hub-feature__media img:not(.hub-feature__artwork) { object-fit: cover; }
.hub-feature__artwork { object-fit: contain; }
.hub-feature:hover .hub-feature__media img:not(.hub-feature__artwork) { transform: scale(1.012); }

.hub-feature__fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 25%, var(--hub-fallback-line) 25.1% 25.35%, transparent 25.45% 100%),
    linear-gradient(14deg, transparent 0 46%, var(--hub-fallback-axis) 46.1% 46.35%, transparent 46.45% 100%),
    radial-gradient(circle at 34% 44%, transparent 0 16%, var(--hub-fallback-ring) 16.2% 16.5%, transparent 16.7% 28%, var(--hub-fallback-ring-faint) 28.2% 28.45%, transparent 28.7%),
    linear-gradient(145deg, var(--hub-fallback-start), var(--hub-fallback-middle) 52%, var(--hub-fallback-end));
}

.hub-feature__fallback::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 18%;
  bottom: 21%;
  height: 2px;
  background: var(--hub-gold);
  opacity: .45;
  transform: rotate(-7deg);
  box-shadow: 0 -26px 0 var(--hub-fallback-shadow), 0 31px 0 var(--hub-fallback-shadow-faint);
}

.hub-feature__body {
  padding: clamp(42px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-feature__title {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.hub-feature__title a,
.hub-list__title a {
  color: inherit;
  text-decoration: none;
}

.hub-feature__title a:hover,
.hub-list__title a:hover { color: var(--hub-gold-dark); }

.hub-feature__excerpt {
  margin: 0 0 30px;
  max-width: 590px;
  color: var(--hub-excerpt);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-3xl);
  line-height: 1.65;
}

.hub-feature__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid var(--hub-gold);
  color: var(--hub-cta-ink);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.hub-feature__cta:hover { background: var(--hub-cta-hover); }

/* ------------------------------------------------------------
   INVESTIGATION INDEX
   ------------------------------------------------------------ */
.hub-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.hub-section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 500;
}

.hub-investigations {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hub-line);
}

.hub-investigations__item {
  min-width: 0;
  border-top: 1px solid var(--ox-rule);
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hub-line);
}

.hub-list__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hub-list-media);
}

.hub-list__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.hub-investigations__item:hover img { transform: scale(1.02); }

.hub-list__media--fallback {
  background:
    radial-gradient(circle at 64% 36%, transparent 0 17%, var(--hub-list-ring) 17.2% 17.7%, transparent 18%),
    linear-gradient(24deg, transparent 0 47%, var(--hub-fallback-line) 47.2% 47.6%, transparent 47.8%),
    linear-gradient(145deg, var(--hub-list-start), var(--hub-list-end));
}

.hub-list__media--fallback::after {
  content: "";
  position: absolute;
  left: 15%; right: 15%; bottom: 24%;
  height: 1px;
  background: var(--hub-list-axis);
  transform: rotate(-6deg);
}

.hub-list__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-right: 34px;
}

.hub-list__title {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.45vw, 33px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.012em;
}

.hub-list__excerpt {
  margin: 0;
  max-width: 780px;
  color: var(--hub-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-xl);
  line-height: 1.6;
}

.hub-close {
  margin-top: 72px;
  padding: 48px 0 8px;
  border-top: 1px solid var(--hub-line);
}

.hub-close h2 {
  margin: 0 0 30px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
}

.hub-close__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.hub-close__item {
  padding: 24px 34px 32px;
  border-left: 1px solid var(--hub-line);
}

.hub-close__item:first-child { border-left: 0; }

.hub-close__item h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.hub-close__item p {
  margin: 0;
  color: var(--hub-muted);
  line-height: 1.62;
  font-size: var(--fs-lg);
}

.ox-hub .pager { margin-top: 36px; }

@media (max-width: 940px) {
  .hub-shell { width: min(100% - 34px, 1260px); padding-top: 42px; }
  .hub-story { grid-template-columns: 1fr; gap: 38px; padding-bottom: 54px; }
  .hub-story__visual { position: static; width: 100%; max-width: none; justify-self: stretch; }
  .hub-story__visual-frame { aspect-ratio: 16 / 9; }
  .hub-story__visual-frame--image { aspect-ratio: auto; }
  .hub-feature { grid-template-columns: 1fr; min-height: 0; }
  .hub-feature__media, .hub-feature__media img { min-height: 0; aspect-ratio: 16 / 9; }
  .hub-investigations__item { grid-template-columns: 190px 1fr; gap: 22px; }
  .hub-close__grid { grid-template-columns: 1fr; }
  .hub-close__item { border-left: 0; border-top: 1px solid var(--hub-line); padding-left: 0; padding-right: 0; }
  .hub-close__item:first-child { border-top: 0; }
}

@media (max-width: 640px) {
  .hub-shell { width: min(100% - 26px, 1260px); padding-bottom: 58px; }
  .hub-story h1 { font-size: clamp(42px, 14vw, 60px); }
  .hub-story__dek { font-size: var(--fs-4xl); }
  .hub-story__body { font-size: var(--fs-2xl); }
  .hub-feature { margin-left: -13px; margin-right: -13px; border-left: 0; border-right: 0; }
  .hub-feature__body { padding: 32px 24px 38px; }
  .hub-investigations__item { grid-template-columns: 1fr; gap: 15px; padding: 22px 0 26px; }
  .hub-list__body { padding-right: 0; }
  .hub-list__media { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
 .hub-feature__media img, .hub-list__media img, .hub-feature__cta { transition: none; }
}
