/* The People's Share stories: the Instagram stories rebuilt as a playing story.
   Used on the homepage, in its own section under the full statement. Sizes are in
   cqw, so the slides keep their proportions at any width. */

.stories-band { display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 2rem 1rem 0.4rem; }

.tps-story { position: relative; width: min(100%, 390px, calc(78vh * 0.5625)); aspect-ratio: 9 / 16;
  container-type: inline-size; overflow: hidden; border-radius: 12px; background: #1c0f0c;
  box-shadow: 0 0 0 1px rgba(192,133,82,0.45); color: #F7F1DE; font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.3; -webkit-user-select: none; user-select: none; touch-action: manipulation; cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
@supports (height: 1svh) { .tps-story { width: min(100%, 390px, calc(78svh * 0.5625)); } }
.tps-story:focus-visible { outline: 2px solid #F7F1DE; outline-offset: 3px; }

/* Pictures inside the story: undo the card's own picture rules */
.tps-story .ts-media { position: absolute; overflow: hidden; background: #000; }
.tps-story .ts-media > img { position: static !important; inset: auto !important; display: block;
  width: 100% !important; height: 100% !important; aspect-ratio: auto !important; max-width: none;
  object-fit: cover; padding: 0 !important; margin: 0; border-radius: 0; }
.tps-story .ts-media.contain > img { object-fit: contain; }
.tps-story .ts-media.frame { box-shadow: 0 0 0 1px rgba(192,133,82,0.75); }
.tps-story .ts-media.mat { box-shadow: 0 0 0 0.7cqw #efe6d2; }

/* Slides */
.ts-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; overflow: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.ts-slide.on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
@media (prefers-reduced-motion: reduce) { .ts-slide, .ts-slide.on { transition: none; } }
.ts-band { position: absolute; left: 0; right: 0; }
.ts-card { position: absolute; left: 0; right: 0; }
.ts-sq { top: 21.84%; height: 56.32%; box-shadow: 0 0 0 1px rgba(192,133,82,0.55); }
.ts-45 { top: 14.8%; height: 70.4%; }
.ts-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.ts-abs { position: absolute; left: 0; right: 0; }

/* Type */
.pf { font-family: 'Playfair Display', Georgia, serif; }
.eb { font-family: 'EB Garamond', Georgia, serif; }
.nu { font-family: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif; }
.tps-story em, .tps-story .it { font-style: italic; }
.g { color: #E5BA41; } .c { color: #F7F1DE; } .t { color: #C08552; } .s { color: #A8BBA3; }
.w4 { font-weight: 400; } .w6 { font-weight: 600; } .w7 { font-weight: 700; } .w8 { font-weight: 800; } .w9 { font-weight: 900; }
.caps { text-transform: uppercase; letter-spacing: 0.32em; }
.ctr { text-align: center; }
.tps-story p { margin: 0; }
.rule { height: 1px; background: rgba(192,133,82,0.8); }
.ts-dots { color: #C08552; letter-spacing: 0.2em; font-size: 2.6cqw; line-height: 1; }

/* For the Producers: square cards */
.ftp .num { position: absolute; top: 6.4cqw; right: 8.4cqw; font-size: 2cqw; letter-spacing: 0.2em; color: rgba(192,133,82,0.85); }
.ftp .foot { position: absolute; left: 8cqw; right: 8cqw; bottom: 6.6cqw; display: flex; justify-content: space-between;
  font-size: 2.05cqw; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(192,133,82,0.8); }
.ftp .pad { padding: 0 9.8cqw; }

/* Who owns AI? */
.woa .kick { font-size: 2.9cqw; font-style: italic; color: rgba(247,241,222,0.72); }
.woa .small { font-size: 3.05cqw; color: rgba(247,241,222,0.88); line-height: 1.45; }
.woa .short { width: 7.5cqw; height: 1px; background: rgba(192,133,82,0.8); margin: 3.4cqw 0; }

/* The Common from Off the Goose */
.goose .foot { position: absolute; left: 11.2cqw; right: 11.2cqw; top: 79.4%; border-top: 1px solid rgba(239,226,200,0.6);
  padding-top: 2.5cqw; text-align: center; font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
  font-size: 2.5cqw; color: #F7F1DE; }
.goose .foot b { font-weight: 600; letter-spacing: 0.02em; }
.goose .body { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: #F7F1DE; }

/* The People's Abundance */
.pa .head { position: absolute; left: 0; right: 0; top: 17.9%; text-align: center; font-style: italic;
  font-size: 2.35cqw; color: rgba(247,241,222,0.62); }
.pa .r1, .pa .r2 { position: absolute; left: 0; right: 0; height: 1px; background: rgba(192,133,82,0.85); }
.pa .r1 { top: 20.6%; } .pa .r2 { top: 81.55%; }
.pa .foot { position: absolute; left: 0; right: 0; top: 82.8%; text-align: center; line-height: 1.25; }
.pa .foot i { display: block; font-size: 2.2cqw; color: rgba(247,241,222,0.75); }
.pa .foot span { display: block; font-size: 1.95cqw; color: #C08552; }
.pa .ttl { font-family: 'Playfair Display', Georgia, serif; color: #E5BA41; font-weight: 400; text-align: center; }
.pa .bod { text-align: center; color: #F7F1DE; font-size: 3.3cqw; line-height: 1.4; padding: 0 9cqw; }
.pa .q { font-family: 'Playfair Display', Georgia, serif; font-style: italic; text-align: center; color: #F7F1DE; }

/* Ekphrasis rooms */
.ek .foot { position: absolute; left: 9.3cqw; right: 9.3cqw; top: 77.1%; border-top: 1px solid rgba(192,133,82,0.7);
  padding-top: 1.7cqw; display: flex; justify-content: space-between; font-size: 2.15cqw; }
.ek .foot b { font-weight: 400; color: #C08552; }
.ek .foot i { color: rgba(247,241,222,0.6); }
.ek .body { font-family: 'Playfair Display', Georgia, serif; font-style: italic; text-align: center; color: #F7F1DE; }
.tps-story .body.g { color: #E5BA41; }
.tps-story .body.s { color: #A8BBA3; }

/* Conversations with Claude: text stickers */
.cl .stk { display: inline; font-family: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif; font-weight: 800;
  color: #fff; background: #4e2c2d; padding: 0.3cqw 1.6cqw; border-radius: 2.2cqw; line-height: 1.2;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font-size: 4.75cqw; }

/* The link sticker on For the Producers, slide 11 */
.ts-sticker { position: absolute; left: 2.4cqw; display: inline-flex; align-items: center; gap: 1.6cqw;
  padding: 1.7cqw 3cqw; border-radius: 2.4cqw; background: rgba(255,255,255,0.22); color: #fff;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 4.3cqw; }

/* Progress bars, series name, pause mark */
.ts-bars { position: absolute; top: 1.7cqw; left: 2.4cqw; right: 2.4cqw; display: flex; gap: 0.9cqw; z-index: 6; pointer-events: none; }
.ts-bars i { flex: 1; height: 0.75cqw; min-height: 2px; background: rgba(247,241,222,0.3); border-radius: 2px; overflow: hidden; }
.ts-bars i b { display: block; height: 100%; width: 0; background: #F7F1DE; }
.ts-bars i.done b { width: 100%; }
.ts-name { position: absolute; top: 4.2cqw; left: 3cqw; right: 12cqw; z-index: 6; pointer-events: none;
  font-size: 3.1cqw; color: rgba(247,241,222,0.88); text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-paused { position: absolute; top: 3.6cqw; right: 3cqw; z-index: 6; pointer-events: none; display: none;
  font-size: 3.1cqw; color: #F7F1DE; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.tps-story.is-paused .ts-paused { display: block; }

/* Controls below the story */
.ts-bar { width: min(100%, 390px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.45rem 0.5rem; }
.ts-btn { font: inherit; font-size: 0.95rem; line-height: 1; color: #F7F1DE; background: transparent; cursor: pointer;
  border: 1px solid rgba(192,133,82,0.7); border-radius: 999px; padding: 0.38rem 0.85rem 0.42rem; }
.ts-btn:hover { border-color: #E5BA41; color: #E5BA41; }
.ts-now { width: 100%; text-align: center; font-size: 0.92rem; color: #A8BBA3; line-height: 1.35; }
.ts-now a { white-space: nowrap; }
.ts-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Card One's yellow pill is now a link: keep it looking like the other pills */
.claim a.play { text-decoration: none; color: #2A1410; }
.claim a.play:hover, .claim a.play:focus-visible { color: #2A1410; background: #F0CB5E; }
