/* Our story (story.html): the story in four big moments, the same look as the homepage (css/home.css). */
.storypage main section,
.storypage .s-hero {
  padding: 96px 0;
}
.s-hero .wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 70vh;
}
.s-hero h1 {
  margin-top: 18px;
  font-size: clamp(46px, 6.4vw, 88px);
}
.s-pic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.s-ask {
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(242, 194, 48, 0.1), transparent 70%);
}
.s-ask .wrap {
  max-width: 980px;
  text-align: center;
}
.bubble {
  display: inline-block;
  position: relative;
  margin-bottom: 34px;
  padding: 14px 26px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 20px;
  font-style: italic;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.s-quote {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
}
.s-ready .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.s-phone {
  display: flex;
  justify-content: center;
}
.s-phone .iphone {
  width: min(320px, 100%);
}
.s-lines {
  display: grid;
  gap: 28px;
}
.s-line {
  display: flex;
  align-items: center;
  gap: 22px;
}
.s-line i {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--accent);
  color: var(--on);
  display: grid;
  place-items: center;
}
.s-line i svg {
  width: 40px;
  height: 40px;
}
.s-line b {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 0.95;
}
.s-right {
  text-align: center;
}
.s-right h2 {
  font-size: clamp(52px, 8vw, 120px);
}
.s-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 48px 0 40px;
}
.s-strip .vbox {
  aspect-ratio: 540 / 908;
  border-radius: 18px;
}
.s-right .cta {
  justify-content: center;
}
.s-tag {
  margin-top: 22px;
}
/* each part fades up as it scrolls into view (js/home.js adds .in) */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 860px) {
  .storypage main section,
  .storypage .s-hero {
    padding: 56px 0;
  }
  .s-hero .wrap,
  .s-ready .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }
  .s-pic img {
    aspect-ratio: 4 / 5;
  }
  .s-phone .iphone {
    width: 240px;
  }
  .s-line i {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .s-line i svg {
    width: 30px;
    height: 30px;
  }
  .s-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .bubble {
    font-size: 17px;
  }
  .s-right h2 {
    font-size: 44px;
  }
}
