@import url("./editorial-story.css?v=5");
.page-composer {
  --pc-paper: #fbf8f2;
  --pc-ink: #20191b;
  --pc-muted: #6f6465;
  --pc-line: rgba(54, 37, 40, 0.14);
  color: var(--pc-ink);
  background: var(--pc-paper);
  overflow: hidden;
}

.pc-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.pc-narrow {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.pc-kicker,
.pc-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pc-hero {
  position: relative;
  min-height: max(640px, 92svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--pc-accent) 58%, transparent), transparent 42%),
    linear-gradient(145deg, var(--pc-accent-deep), #171215 75%);
}

.pc-hero-image,
.pc-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pc-hero-image {
  object-fit: cover;
}

.pc-hero-shade {
  background:
    linear-gradient(180deg, rgba(10, 7, 8, 0.14) 0%, transparent 42%),
    linear-gradient(0deg, rgba(13, 8, 10, 0.88) 0%, rgba(13, 8, 10, 0.22) 56%, transparent 78%);
}

.pc-back {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 3vw, 32px);
  left: clamp(18px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1rem 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: white;
  background: rgba(18, 12, 14, 0.38);
  backdrop-filter: blur(12px);
}

.pc-back svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pc-back:hover,
.pc-back:focus-visible {
  background: rgba(18, 12, 14, 0.72);
}

.pc-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 150px 0 clamp(52px, 8vw, 94px);
  color: white;
}

.pc-hero-content .pc-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.pc-hero h1 {
  max-width: 900px;
  margin-top: 0.55rem;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 14vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-wrap: balance;
}

.pc-tagline {
  max-width: 670px;
  margin-top: clamp(1.35rem, 3vw, 2rem);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.18;
  text-wrap: balance;
}

.pc-place {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.pc-scroll-cue {
  display: inline-flex;
  gap: 0.55rem;
  margin-top: clamp(2.5rem, 7vw, 5rem);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.pc-stats {
  padding: clamp(58px, 9vw, 110px) 0;
  color: white;
  background: var(--pc-accent-deep);
}

.pc-section-label {
  margin-bottom: clamp(30px, 5vw, 58px);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.pc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pc-stat {
  min-width: 0;
  padding: 0 clamp(14px, 3vw, 32px);
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-stat:first-child {
  border-left: 0;
}

.pc-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.pc-stat span {
  display: block;
  max-width: 18ch;
  margin: 1.1rem auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.75rem, 1.3vw, 0.9rem);
  line-height: 1.35;
}

.pc-intro {
  padding: clamp(80px, 13vw, 170px) 0;
}

.pc-intro h2,
.pc-shadow h2,
.pc-honesty h2,
.pc-edition-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.pc-intro h2 {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
}

.pc-intro p {
  max-width: 64ch;
  margin-top: 2rem;
  color: var(--pc-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.pc-carousel {
  padding: clamp(62px, 9vw, 110px) 0;
  background: #efe8de;
}

.pc-carousel-rail {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pc-carousel-rail::-webkit-scrollbar {
  display: none;
}

.pc-slide {
  flex: 0 0 min(78vw, 860px);
  scroll-snap-align: center;
}

.pc-slide-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 28px);
  background:
    radial-gradient(circle at 65% 30%, color-mix(in srgb, var(--pc-accent) 48%, transparent), transparent 38%),
    linear-gradient(145deg, var(--pc-accent-deep), #23191b);
  box-shadow: 0 22px 60px rgba(56, 40, 38, 0.16);
}

.pc-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-slide-count {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: white;
  background: rgba(20, 13, 15, 0.56);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.pc-slide-copy {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) 1fr;
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(20px, 3vw, 34px) 0 0;
}

.pc-slide-copy .pc-kicker {
  color: var(--pc-accent);
}

.pc-slide-copy > p:last-child {
  color: #564b4d;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.4;
}

.pc-carousel-controls {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.pc-carousel-controls > button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(60, 43, 46, 0.2);
  border-radius: 50%;
  color: var(--pc-ink);
  background: rgba(255, 255, 255, 0.55);
}

.pc-carousel-dots {
  display: flex;
  gap: 0.55rem;
}

.pc-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(50, 34, 38, 0.25);
}

.pc-carousel-dots button[aria-current="true"] {
  width: 22px;
  border-radius: 999px;
  background: var(--pc-accent);
}

.pc-edition-cta {
  padding: clamp(70px, 10vw, 130px) 0;
  background: var(--pc-paper);
}

.pc-edition-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  padding: clamp(34px, 6vw, 72px);
  border-radius: clamp(18px, 3vw, 34px);
  color: white;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--pc-accent) 76%, white), transparent 40%),
    var(--pc-accent-deep);
}

.pc-edition-panel .pc-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.pc-edition-panel h2 {
  max-width: 720px;
  margin-top: 0.8rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.pc-edition-panel p:not(.pc-kicker) {
  max-width: 58ch;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.pc-edition-panel a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  color: var(--pc-accent-deep);
  background: white;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.pc-shadow {
  padding: clamp(90px, 14vw, 180px) 0;
  color: #f4e9e4;
  background: #191315;
}

.pc-shadow .pc-kicker {
  color: #c9969e;
}

.pc-shadow h2 {
  margin-top: 0.9rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.pc-shadow p:not(.pc-kicker) {
  max-width: 64ch;
  margin-top: 1.8rem;
  color: rgba(244, 233, 228, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.pc-shadow .pc-shadow-note {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem !important;
}

.pc-honesty {
  padding: clamp(90px, 13vw, 170px) 0;
  background: #f5f0e8;
}

.pc-honesty-head {
  max-width: 760px;
  margin: 0 auto clamp(46px, 7vw, 80px);
  text-align: center;
}

.pc-honesty-head .pc-kicker {
  color: var(--pc-accent);
}

.pc-honesty h2 {
  margin-top: 0.9rem;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.pc-honesty-head > p:last-child {
  margin-top: 1.5rem;
  color: var(--pc-muted);
  line-height: 1.65;
}

.pc-certainty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--pc-line);
  border-bottom: 1px solid var(--pc-line);
}

.pc-certainty-column {
  padding: clamp(28px, 4vw, 48px);
  border-left: 1px solid var(--pc-line);
}

.pc-certainty-column:first-child {
  border-left: 0;
}

.pc-certainty-column h3 {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pc-evidence h3 { color: #187c70; }
.pc-likely h3 { color: #a66600; }
.pc-speculative h3 { color: #a63c49; }

.pc-certainty-column ul {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-left: 1.15rem;
  color: #5d5253;
  font-size: 0.9rem;
  line-height: 1.55;
}

.pc-sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pc-sources a {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  color: var(--pc-ink);
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.pc-state {
  min-height: 70svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.2rem;
  padding: 80px 24px;
  color: var(--text);
  background: var(--bg);
  text-align: center;
}

.pc-state-back {
  position: absolute;
  top: 28px;
  left: 28px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--bg);
}

.pc-loader {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: pc-spin 0.8s linear infinite;
}

.pc-state h1 {
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.pc-state > p:not(.pc-kicker) {
  max-width: 52ch;
  color: var(--muted);
}

.pc-retry {
  min-height: 44px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-weight: 700;
}

@keyframes pc-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .pc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 0;
  }

  .pc-stat:nth-child(odd) {
    border-left: 0;
  }

  .pc-slide {
    flex-basis: 88vw;
  }

  .pc-slide-copy,
  .pc-edition-panel {
    grid-template-columns: 1fr;
  }

  .pc-certainty-grid {
    grid-template-columns: 1fr;
  }

  .pc-certainty-column,
  .pc-certainty-column:first-child {
    border-left: 0;
    border-top: 1px solid var(--pc-line);
  }

  .pc-certainty-column:first-child {
    border-top: 0;
  }
}

@media (max-width: 480px) {
  .pc-hero {
    min-height: 760px;
  }

  .pc-hero h1 {
    font-size: clamp(4rem, 24vw, 6.5rem);
  }

  .pc-carousel-controls > button {
    display: none;
  }

  .pc-edition-panel {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-loader {
    animation: none;
  }
}

[data-theme="dark"] .page-composer {
  --pc-paper: #17152a;
  --pc-ink: #f0edff;
  --pc-muted: #aaa6c1;
  --pc-line: rgba(237, 235, 255, 0.14);
}

[data-theme="dark"] .pc-carousel,
[data-theme="dark"] .pc-honesty {
  background: #201e38;
}

[data-theme="dark"] .pc-slide-copy > p:last-child,
[data-theme="dark"] .pc-certainty-column ul {
  color: #c4c0d5;
}
