/* Stories added from the earlier Future page, in the current Future Land style. */

.header nav a { white-space: nowrap; }

.hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
}
.hero-paths a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid #eee9de80;
  padding-bottom: 4px;
}

.story .eyebrow { margin-bottom: 18px; }
.story-copy > p:not(.eyebrow):not(.story-pull),
.story-center > p:not(.eyebrow):not(.story-pull),
.story-lede {
  color: var(--muted);
  margin-top: 16px;
  max-width: 42rem;
}
.story-sand { background: #eeeee4; }
.story-mist { background: #f0eee5; }
.story-pine { background: var(--pine); color: var(--cream); }
.story-pine .story-figure { border-color: transparent; box-shadow: none; }
.story-pine .eyebrow { color: var(--glimmer); }
.story-pine h2,
.story-pine h3,
.story-pine .story-pull { color: var(--cream); }
.story-pine em { color: #d5e0b9; }
.story-pine .story-copy > p:not(.eyebrow):not(.story-pull),
.story-pine .small-note { color: #d5dcca; }
.story h3 { margin-top: 14px; }
.story-cards h3, .machine-figure h3, .season-card h3 { margin-top: 0; }

.story-split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.story-split.flip .story-copy { order: -1; }

.story-figure {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #fff;
  box-shadow: var(--soft-shadow);
  background: #e6e9dd;
  margin: 0;
}
.story-figure img {
  width: 100%;
  height: clamp(210px, 26vw, 340px);
  object-fit: cover;
  object-position: center 42%;
}
.story-figure.portrait {
  width: min(100%, 380px);
}
.story-figure.portrait img {
  height: clamp(260px, 36vw, 440px);
  object-position: center 16%;
}
.story-figure.machine-figure img {
  height: clamp(200px, 30vw, 400px);
  object-position: center 48%;
}
.story-figure figcaption {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 14px 18px 16px;
  color: var(--muted);
}

.story-pull {
  font-family: Satoshi, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: lowercase;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  color: var(--pine);
  margin: 28px 0 0;
  max-width: 16ch;
}
.story-center { max-width: 760px; }
.story-center .story-pull { max-width: 20ch; }

.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}
.story-actions .text-link { margin-left: 0; border-bottom-color: #233d3166; }
.story-pine .story-actions .text-link { border-bottom-color: #eee9de80; color: var(--cream); }
.story .small-note { display: block; font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 14px; }

.chips, .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.chips li, .tag-row li, .tag-row span {
  border: 1px solid #fff;
  background: #f8f5edcc;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
}
.tag-row span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.story-pine .tag-row span,
.story-pine .chips li {
  background: transparent;
  border-color: #8a9985;
  color: var(--cream);
  box-shadow: none;
}

.steps, .story-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.steps li, .story-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.steps { counter-reset: step; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--copper);
  margin-right: 12px;
}
.story-pine .steps li,
.story-pine .story-list li { border-bottom-color: #ffffff2e; }
.story-pine .steps li::before { color: #d5e0b9; }

.ticker {
  margin-top: 48px;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: story-ticker 90s linear infinite;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; gap: 14px; padding-right: 14px; }
.ticker-set figure {
  width: 280px;
  flex: none;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #fff;
}
.ticker-set img { width: 100%; height: 170px; object-fit: cover; }
@keyframes story-ticker { to { transform: translateX(-50%); } }

.machine-nav, .machine-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.machine-nav { margin: 26px 0 18px; }
.machine-nav button, .machine-controls button {
  background: #f8f5ed;
  color: var(--pine);
  border: 1px solid #c5cdbd;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
}
.machine-nav button.is-active {
  background: var(--pine);
  color: var(--cream);
  border-color: var(--pine);
}
.machine-controls { margin-top: 16px; }
.machine-controls button { width: 44px; height: 44px; padding: 0; }
.machine-count { margin: 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.machine-panel[hidden] { display: none; }
.machine-figure { position: relative; }
.machine-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(transparent, #172a23ee);
  color: var(--cream);
  letter-spacing: 0;
  font-size: inherit;
}
.machine-figure h3 { color: var(--cream); font-size: 32px; }
.machine-figure p { color: #e7ecdf; font-size: 15px; margin: 6px 0 0; }

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.story-cards article {
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 28px;
  background: #f8f5ed9e;
  box-shadow: var(--soft-shadow);
}
.story-cards span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--copper);
  margin-bottom: 12px;
}
.story-cards h3 { font-size: 26px; }
.story-cards p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.story-cards.five { grid-template-columns: repeat(5, 1fr); }
.story-cards.five article { padding: 22px; }
.story-cards.five h3 { font-size: 22px; }

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.season-card {
  position: relative;
  min-height: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #fff;
  box-shadow: var(--soft-shadow);
}
.season-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.season-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 18px 18px;
  background: linear-gradient(transparent, #172a23ee);
  color: var(--cream);
}
.season-card span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 6px;
}
.season-card h3 { color: var(--cream); font-size: 26px; }

.place-facts { display: grid; gap: 0; margin-top: 8px; }
.place-facts div { border-top: 1px solid var(--line); padding: 14px 0; }
.place-facts span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 6px;
}
.place-facts p { margin: 0 !important; font-size: 14px !important; }

.visit h3 { margin-top: 28px; font-size: 28px; }
.visit .story-list { margin-top: 18px; }
.visit .story-list li {
  padding: 9px 0;
  border-bottom: 1px solid #c5cdbd;
  font-size: 14px;
  color: var(--muted);
}
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.choice-row a {
  border: 1px solid #b9c2ad;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8f5ed;
  font-size: 13px;
  font-weight: 700;
}
.choice-row a:hover { border-color: var(--copper); color: var(--copper); }

@media (max-width: 1100px) {
  .story-cards, .story-cards.five, .season-grid { grid-template-columns: repeat(2, 1fr); }
  .season-card { min-height: 210px; }
}
@media (max-width: 900px) {
  .story-split { grid-template-columns: 1fr; gap: 22px; }
  .story-split.flip .story-copy { order: 0; }
  .story-figure.portrait { width: 100%; }
  .story-figure img {
    height: clamp(190px, 46vw, 250px);
  }
  .story-figure.portrait img {
    height: clamp(250px, 68vw, 320px);
    object-position: center 22%;
  }
  .story-figure.machine-figure img {
    height: clamp(220px, 58vw, 280px);
  }
  .story-actions .button { width: 100%; }
  .machine-figure figcaption { padding: 36px 16px 14px; }
  .machine-figure h3 { font-size: 26px; }
}
@media (max-width: 800px) {
  .story-cards { grid-template-columns: 1fr; }
  .story-cards.five { grid-template-columns: 1fr 1fr; }
  .story-cards.five article { padding: 18px; }
  .header nav { gap: 14px; }
}
@media (max-width: 520px) {
  .season-grid { grid-template-columns: 1fr; }
  .season-card { min-height: 190px; }
  .story-cards.five { grid-template-columns: 1fr 1fr; }
  .ticker-set figure { width: 220px; }
  .ticker-set img { height: 140px; }
  .choice-row a { flex: 1 1 calc(50% - 10px); text-align: center; }
  .story { padding-top: 48px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-set { flex-wrap: wrap; }
  .ticker-set[aria-hidden="true"] { display: none; }
}
