/* Shared styles for strategy-page mockups.
   Loaded alongside ../styles.css — overrides where needed. */

.mockup-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.mockup-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mockup-banner__name { font-weight: 700; }
.mockup-banner__nav a { margin-left: 18px; }

.mockup-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.mockup-shell--wide { max-width: 1400px; }
.mockup-shell--narrow { max-width: 880px; }

.mockup-head {
  margin: 0 0 48px;
}
.mockup-head__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5c5ce0;
  margin: 0 0 12px;
}
.mockup-head__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: #1a1a1a;
}
.mockup-head__lede {
  font-size: 18px;
  line-height: 1.55;
  color: #4a4a4a;
  max-width: 680px;
  margin: 0;
}

/* ===== INDEX (chooser) ===== */
.chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.chooser-card {
  display: block;
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.chooser-card:hover {
  transform: translateY(-2px);
  border-color: #5c5ce0;
  box-shadow: 0 6px 24px rgba(92, 92, 224, 0.12);
}
.chooser-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f3ff;
  color: #5c5ce0;
  margin-bottom: 12px;
}
.chooser-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.chooser-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 12px;
}
.chooser-card__sketch {
  margin-top: 16px;
  height: 140px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .chooser-grid { grid-template-columns: 1fr; }
}

/* ===== SKETCH visualizations on chooser ===== */
.sketch-timeline {
  display: flex;
  gap: 6px;
  padding: 16px;
  align-items: center;
  height: 100%;
}
.sketch-timeline span {
  flex: 1;
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f3f3ff 0%, #e8e8fa 100%);
  border: 1px solid #ddd;
}
.sketch-timeline span:nth-child(odd) { background: linear-gradient(180deg, #fff6e6 0%, #fee2c4 100%); }
.sketch-pmr {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 16px;
  height: 100%;
}
.sketch-pmr div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
.sketch-pmr span {
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #ddd;
}
.sketch-pmr span:nth-child(1) { background: #fff0f0; border-color: #f5cdcd; }
.sketch-pmr span:nth-child(2) { background: #fff8e1; border-color: #f0d68b; }
.sketch-pmr span:nth-child(3) { background: #e8f5e9; border-color: #b3dab5; }
.sketch-overview {
  display: grid;
  grid-template-rows: 1fr 2fr;
  gap: 6px;
  padding: 16px;
  height: 100%;
}
.sketch-overview > div:first-child {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.sketch-overview > div:first-child span {
  border-radius: 4px;
  background: linear-gradient(180deg, #0d99ff20 0%, #0d99ff10 100%);
  border: 1px solid #0d99ff40;
}
.sketch-overview > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.sketch-overview > div:last-child span {
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #ddd;
}
.sketch-scrolly {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px;
  height: 100%;
}
.sketch-scrolly > div:first-child {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
}
.sketch-scrolly > div:first-child span {
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #ddd;
}
.sketch-scrolly > div:first-child span:nth-child(2) {
  background: #5c5ce020;
  border-color: #5c5ce080;
}
.sketch-scrolly > div:last-child {
  border-radius: 6px;
  background: linear-gradient(135deg, #5c5ce020 0%, #0d99ff20 100%);
  border: 1px solid #ccc;
}

/* ===== A · TIMELINE ===== */
.tl-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 32px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.tl-rail::-webkit-scrollbar { height: 8px; }
.tl-rail::-webkit-scrollbar-thumb { background: #ddd; border-radius: 999px; }

.tl-stop {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tl-stop::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 28px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 3px solid #5c5ce0;
  border-radius: 50%;
}
.tl-stop:first-child::before { background: #5c5ce0; }

.tl-date {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5c5ce0;
  margin: 0 0 6px;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #1a1a1a;
}
.tl-body {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 16px;
}
.tl-artifact {
  margin: 0 -4px 16px;
  border-radius: 8px;
  background: #fafafa;
  padding: 14px;
  border: 1px solid #eee;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-artifact__stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.1;
}
.tl-artifact__stat span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-top: 4px;
}
.tl-artifact video { width: 100%; border-radius: 6px; display: block; }
.tl-artifact iframe { width: 100%; height: 140px; border: 0; border-radius: 4px; background: #fff; }
.tl-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #5c5ce0;
  text-decoration: none;
}
.tl-link:hover { text-decoration: underline; }
.tl-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 48px 0 0;
  padding: 28px;
  background: #fafafa;
  border-radius: 16px;
}
.tl-stats__cell {
  text-align: center;
}
.tl-stats__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.tl-stats__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-top: 4px;
}

/* ===== B · PROBLEM-MOVE-RESULT ===== */
.pmr-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.pmr-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
}
.pmr-card__band {
  padding: 18px 28px;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.pmr-card__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #5c5ce0;
  letter-spacing: 0.06em;
}
.pmr-card__hook {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.pmr-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pmr-col {
  padding: 28px;
  border-right: 1px solid #eee;
}
.pmr-col:last-child { border-right: 0; }
.pmr-col__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
}
.pmr-col--problem .pmr-col__label { color: #c0392b; }
.pmr-col--move    .pmr-col__label { color: #d68a00; }
.pmr-col--result  .pmr-col__label { color: #2e8540; }
.pmr-col p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: #1a1a1a;
}
.pmr-col__stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #2e8540;
  display: block;
  margin: 8px 0 4px;
  line-height: 1.1;
}
.pmr-card__footer {
  padding: 16px 28px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.pmr-card__footer a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #5c5ce0;
  text-decoration: none;
}
.pmr-card__footer a:hover { text-decoration: underline; }
.pmr-card__media {
  margin: 0;
  padding: 0;
  background: #fafafa;
  display: block;
  border-top: 1px solid #eee;
}
.pmr-card__media video {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #fff;
}
@media (max-width: 800px) {
  .pmr-card__grid { grid-template-columns: 1fr; }
  .pmr-col { border-right: 0; border-bottom: 1px solid #eee; }
  .pmr-col:last-child { border-bottom: 0; }
}

/* ===== C · OVERVIEW + CHAPTERS ===== */
.overview-hero {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px;
  margin-top: 32px;
}
.overview-hero__summary {
  font-size: 18px;
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0 0 28px;
  max-width: 760px;
}
.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}
.overview-stats > div { text-align: left; }
.overview-stats dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin: 0 0 4px;
}
.overview-stats dd {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.05;
}
.overview-stats dd em {
  font-style: normal;
  font-size: 16px;
  color: #888;
  font-weight: 500;
}
.chap-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
}
.chap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.chap-row--reverse .chap-row__media { order: 2; }
.chap-row__media {
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #eee;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chap-row__media video { display: block; width: 100%; }
.chap-row__media iframe { width: 100%; height: 360px; border: 0; }
.chap-row__media-stat {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  text-align: center;
  padding: 32px;
}
.chap-row__media-stat span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-top: 8px;
}
.chap-row__body {
  padding-top: 8px;
}
.chap-row__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5c5ce0;
  margin: 0 0 8px;
}
.chap-row__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #1a1a1a;
}
.chap-row__body p {
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 14px;
}
.chap-row__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #5c5ce0;
  text-decoration: none;
}
.chap-row__link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .chap-row, .chap-row--reverse { grid-template-columns: 1fr; }
  .chap-row--reverse .chap-row__media { order: 0; }
}

/* ===== D · SCROLLYTELLING ===== */
.scrolly {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 16px;
  padding-bottom: 80px;
  position: relative;
}
@media (min-width: 1101px) {
  .scrolly { padding-left: 100px; }
}
.scrolly__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  scroll-margin-top: 80px;
}
.scrolly__step {
  scroll-margin-top: 80px;
}
.scrolly__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5c5ce0;
  margin: 0 0 10px;
}
.scrolly__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #1a1a1a;
}
.scrolly__body {
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 16px;
}
.scrolly__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #5c5ce0;
  text-decoration: none;
}
.scrolly__link:hover { text-decoration: underline; }
.scrolly__sticky {
  /* legacy — no longer used after row refactor */
  display: contents;
}
.scrolly__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  opacity: 1;
}
.scrolly__visual-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid #eee;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  text-align: center;
}
.scrolly__visual-card video { width: 100%; border-radius: 8px; }
.scrolly__visual-card iframe { width: 100%; height: 360px; border: 0; border-radius: 6px; background: #fafafa; }
.scrolly__visual-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  line-height: 1.05;
  margin: 0;
}
.scrolly__visual-stat span {
  display: block;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .scrolly { gap: 64px; }
  .scrolly__row { grid-template-columns: 1fr; gap: 24px; }
}
