.homepage-story {
  --story-ink: #18191b;
  --story-cream: #f7f3eb;
  --story-paper: #fffdf8;
  --story-purple: #8b3dff;
  --story-lilac: #d7c0ff;
  --story-coral: #ff765f;
  --story-green: #c9f39c;
  --story-line: rgba(24, 25, 27, .18);
  position: relative;
  overflow: clip;
  background: var(--story-cream);
  color: var(--story-ink);
}

.story-shell {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.story-section {
  position: relative;
  padding: clamp(92px, 11vw, 168px) 0;
}

.story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-kicker::before {
  display: none;
}

.story-display {
  max-width: 980px;
  margin: 0;
  font-size: clamp(50px, 7.3vw, 112px);
  font-weight: 850;
  line-height: .91;
  letter-spacing: -.065em;
}

.story-display em {
  color: var(--story-purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.story-lede {
  max-width: 580px;
  margin: 30px 0 0;
  color: rgba(24, 25, 27, .68);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
}

.story-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--story-ink);
  border-radius: 999px;
  color: var(--story-ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.story-btn:hover,
.story-btn:focus-visible {
  color: #fff;
  background: var(--story-ink);
  box-shadow: 0 12px 24px rgba(24, 25, 27, .14);
  transform: translateY(-3px);
}

.story-btn--purple {
  border-color: var(--story-purple);
  color: #fff;
  background: var(--story-purple);
}

.story-btn--purple:hover,
.story-btn--purple:focus-visible {
  border-color: #7130d6;
  background: #7130d6;
}

.homepage-story .story-btn--purple,
.homepage-story .story-btn--purple:visited,
.homepage-story .story-btn:hover,
.homepage-story .story-btn:focus-visible {
  color: #fff !important;
}

.homepage-story .story-btn--purple span,
.homepage-story .story-btn:hover span,
.homepage-story .story-btn:focus-visible span {
  color: inherit !important;
}

.story-intro {
  border-top: 1px solid rgba(24, 25, 27, .08);
}

.story-intro > .story-shell > .story-kicker::before {
  display: none;
}

.story-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: clamp(56px, 8vw, 132px);
  align-items: end;
}

.story-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.story-note {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 56px 52px;
  border-radius: 38px;
  background: transparent;
  box-shadow: none;
  transform: rotate(2deg);
}

.story-note__border {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  overflow: visible;
  pointer-events: none;
}

.story-note__border path,
.story-line-art path {
  fill: none;
  stroke: var(--story-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 8;
  vector-effect: non-scaling-stroke;
}

.story-note__doodle {
  position: absolute;
  z-index: 2;
  top: -46px;
  right: -25px;
  width: 126px;
  pointer-events: none;
  transform: rotate(8deg);
}

.story-note__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--story-lilac);
}

.story-note__icon img { width: 24px; height: 24px; }

.story-note h3 {
  max-width: 300px;
  margin: 30px 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.045em;
}

.story-note__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.story-note__chips span {
  padding: 8px 12px;
  border: 1px solid var(--story-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.story-marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid rgba(24, 25, 27, .14);
  background: var(--story-green);
}

.story-marquee__track {
  display: flex;
  flex: none;
  width: max-content;
  animation: story-marquee 26s linear infinite;
  will-change: transform;
}

.story-marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 34px;
  min-width: max-content;
  padding: 18px 17px;
}

.story-marquee span {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.story-marquee i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--story-purple);
}

.story-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 92px);
}

.story-section-head h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 850;
  line-height: .93;
  letter-spacing: -.06em;
}

.story-section-head p {
  margin: 0;
  color: rgba(24, 25, 27, .66);
  font-size: 18px;
  line-height: 1.55;
}

.story-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(80px, auto);
  gap: 22px;
}

.story-feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 25, 27, .12);
  border-radius: 34px;
  background: var(--story-paper);
  box-shadow: 0 18px 60px rgba(24, 25, 27, .06);
  transition: transform 400ms cubic-bezier(.2,.8,.2,1), box-shadow 400ms ease;
}

.story-feature:hover {
  z-index: 2;
  box-shadow: 0 30px 85px rgba(52, 34, 76, .14);
  transform: translateY(-8px) rotate(.4deg);
}

.story-feature--brush { grid-column: span 7; grid-row: span 7; }
.story-feature--shape { grid-column: span 5; grid-row: span 4; background: var(--story-lilac); }
.story-feature--effects { grid-column: span 5; grid-row: span 5; background: var(--story-green); }
.story-feature--text { grid-column: span 7; grid-row: span 2; background: var(--story-coral); }

.story-feature__media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.story-feature--brush .story-feature__media { min-height: 560px; }
.story-feature--effects .story-feature__media { min-height: 350px; }
.story-feature--text .story-feature__media { min-height: 240px; }

.story-feature__media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(.2,.8,.2,1), filter 400ms ease;
}

.story-feature:hover .story-feature__media img { transform: scale(1.045); }

.story-feature__copy {
  position: relative;
  z-index: 2;
  padding: 30px 32px 34px;
}

.story-feature__number {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.story-feature h3 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 840;
  line-height: .98;
  letter-spacing: -.05em;
}

.story-feature p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(24, 25, 27, .68);
  font-size: 16px;
  line-height: 1.55;
}

.story-feature__tag {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(24,25,27,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.story-feature__scribble {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.story-feature__scribble--brush { right: 14px; bottom: 17px; width: 40%; }
.story-feature__scribble--shape { right: -12px; top: 48%; width: 48%; }
.story-feature__scribble path {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-interlude {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--story-ink);
  color: #fff;
}

.story-interlude::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -170px;
  top: -210px;
  border-radius: 50%;
  background: var(--story-purple);
  filter: blur(2px);
}

.story-interlude__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: center;
}

.story-interlude h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 8vw, 126px);
  font-weight: 860;
  line-height: .84;
  letter-spacing: -.075em;
}

.story-interlude h2 span { color: var(--story-lilac); }

.story-interlude__copy p {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 19px;
  line-height: 1.55;
}

.story-interlude__visual {
  position: relative;
  min-height: 500px;
}

.story-interlude__visual img {
  position: absolute;
  width: min(410px, 90%);
  inset: 50% auto auto 50%;
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(0,0,0,.4);
  transform: translate(-50%, -50%) rotate(6deg);
}

.story-interlude__visual .story-interlude__stamp {
  position: absolute;
  z-index: 3;
  inset: auto 4% 6% auto;
  width: 142px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: invert(1);
  transform: rotate(-10deg);
}

.story-steps {
  counter-reset: story-step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-step {
  counter-increment: story-step;
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 30px;
  border: 1px solid rgba(24,25,27,.12);
  border-radius: 32px;
  background: var(--story-paper);
}

.story-step:nth-child(1) { z-index: 3; }
.story-step:nth-child(2) { z-index: 2; margin-top: 70px; }
.story-step:nth-child(3) { z-index: 1; margin-top: 140px; }

.story-step::before {
  content: "0" counter(story-step);
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--story-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.story-step__image {
  aspect-ratio: 1.14;
  overflow: hidden;
  border-radius: 22px;
}

.story-step__image img { width: 100%; height: 100%; object-fit: cover; }

.story-step h3 {
  margin: 28px 14px 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 840;
  line-height: 1;
  letter-spacing: -.045em;
}

.story-step p {
  margin: 14px 14px 0;
  color: rgba(24,25,27,.64);
  line-height: 1.5;
}

.story-step__arrow {
  position: absolute;
  z-index: 3;
  /* Bridge the narrow gap into the following card's 70px stagger. */
  top: 0;
  right: -48px;
  width: 64px;
  height: 80px;
  overflow: visible;
  pointer-events: none;
}

.story-step__arrow path {
  fill: none;
  stroke: var(--story-purple);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-love {
  background: #ece3ff;
}

.story-love__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.story-love__head h2 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.065em;
}

.story-love__pill {
  flex: none;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--story-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transform: rotate(3deg);
}

.story-quotes-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 8px max(24px, calc((100vw - 1320px) / 2)) 22px;
  box-sizing: border-box;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.story-quotes-carousel.is-dragging {
  cursor: grabbing;
}

.story-quotes-carousel:focus-visible {
  outline: 2px dashed var(--story-purple);
  outline-offset: -5px;
}

.story-quotes-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
}

.story-quote {
  flex: 0 0 clamp(310px, 28vw, 420px);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid rgba(24,25,27,.12);
  border-radius: 30px;
  background: var(--story-paper);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.story-quote:hover {
  transform: translateY(-8px);
}

.story-quotes-carousel.is-dragging .story-quote {
  transform: none;
}

.story-quote__stars { color: var(--story-purple); font-size: 18px; letter-spacing: 2px; }

.story-quote blockquote {
  margin: 28px 0;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.story-person { display: flex; align-items: center; gap: 13px; }
.story-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; pointer-events: none; }
.story-person strong { display: block; font-size: 14px; }
.story-person span { display: block; margin-top: 2px; color: rgba(24,25,27,.55); font-size: 12px; }

.story-close {
  padding-block: clamp(100px, 12vw, 180px);
}

.story-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 22px;
}

.story-signup,
.story-support {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
}

.story-signup {
  padding: clamp(42px, 6vw, 82px);
  background: var(--story-purple);
  color: #fff;
}

.story-signup__doodle {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 115px;
  filter: invert(1);
  transform: rotate(8deg);
}

.story-signup h2,
.story-support h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 850;
  line-height: .92;
  letter-spacing: -.06em;
}

.story-signup > p,
.story-support > p {
  max-width: 520px;
  margin: 20px 0 0;
  line-height: 1.55;
}

.story-signup > p { color: rgba(255,255,255,.72); }

.story-signup form {
  display: grid;
  grid-template-columns: .78fr 1.22fr auto;
  gap: 10px;
  max-width: 760px;
  margin-top: 36px;
}

.story-signup label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.story-signup input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  outline: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font: inherit;
}

.story-signup input::placeholder { color: rgba(255,255,255,.6); }
.story-signup input:focus { border-color: #fff; background: rgba(255,255,255,.18); }

.story-signup #js-subscribe-submit {
  height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--story-ink);
  font-weight: 800;
  transition: transform 200ms ease;
}

.story-signup #js-subscribe-submit:hover { transform: scale(1.035); }
.story-signup .notice {
  grid-column: 1 / -1;
  min-height: 44px;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 10px 48px 10px 13px;
  color: #fff;
}

.story-signup .notice__content {
  min-width: 0;
  line-height: 1.35;
}

.story-signup .notice__dismiss {
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
}

.story-signup .notice__dismiss:hover,
.story-signup .notice__dismiss:focus-visible {
  background: rgba(255,255,255,.26);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.story-support {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(42px, 5vw, 64px);
  background: var(--story-green);
}

.story-support::before,
.story-support::after {
  content: "";
  position: absolute;
  border: 2px dashed rgba(24,25,27,.5);
  border-radius: 50%;
}

.story-support::before { width: 260px; height: 260px; right: -70px; top: -70px; }
.story-support::after { width: 150px; height: 150px; right: 34px; top: 34px; }
.story-support > * { position: relative; z-index: 2; }
.story-support .story-btn { margin-top: 30px; }

.story-motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0) rotate(.4deg);
  transition: opacity 750ms ease var(--reveal-delay, 0ms), transform 950ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms);
}

.story-motion-ready [data-reveal].is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
}

.story-motion-ready .story-note__border path,
.story-motion-ready .story-line-art path {
  animation: story-dashes 9s linear infinite;
}

@keyframes story-marquee { to { transform: translateX(-50%); } }
@keyframes story-dashes { to { stroke-dashoffset: -120; } }
@keyframes story-doodle-float { 50% { transform: translateY(-8px) rotate(5deg); } }

.story-note__doodle,
.story-signup__doodle,
.story-interlude__stamp { animation: story-doodle-float 4.8s ease-in-out infinite; }

.story-footer {
  --story-ink: #18191b;
  --story-lilac: #d7c0ff;
  padding: 72px 0 30px;
  background: var(--story-ink);
  color: #fff;
}

.story-footer__top {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
}

.story-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-size: 22px;
  font-weight: 820;
  text-decoration: none;
}

.story-footer__brand img { width: 34px; height: 34px; filter: invert(1); }

.story-footer__line {
  max-width: 760px;
  margin: 32px 0 0;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 850;
  line-height: .92;
  letter-spacing: -.06em;
}

.story-footer__line span { color: var(--story-lilac); }

.story-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px 28px;
}

.story-footer__links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.story-footer__links a:hover { color: #fff; transform: translateX(4px); }

.story-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 68px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

@media (max-width: 991px) {
  .story-intro__grid,
  .story-section-head,
  .story-interlude__grid,
  .story-close__grid,
  .story-footer__top { grid-template-columns: 1fr; }
  .story-note { width: min(520px, 100%); }
  .story-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-feature--brush,
  .story-feature--shape,
  .story-feature--effects,
  .story-feature--text { grid-column: span 1; grid-row: auto; }
  .story-feature--text { grid-column: 1 / -1; }
  .story-feature--brush .story-feature__media { min-height: 420px; }
  .story-interlude { min-height: 980px; }
  .story-steps { grid-template-columns: 1fr; }
  .story-step { min-height: 0; }
  .story-step:nth-child(2), .story-step:nth-child(3) { margin-top: 0; }
  .story-step__arrow { display: none; }
  .story-quotes { grid-template-columns: 1fr; }
  .story-quote { min-height: 300px; }
  .story-signup form { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .story-shell { width: min(100% - 28px, 1320px); }
  .story-section { padding: 82px 0; }
  .story-display { font-size: clamp(46px, 15vw, 70px); }
  .story-lede { font-size: 17px; }
  .story-intro__grid { gap: 74px; }
  .story-note { min-height: 380px; padding: 48px 38px 40px; transform: none; }
  .story-note__doodle { top: -52px; right: 2px; width: 100px; }
  .story-section-head { gap: 20px; margin-bottom: 42px; }
  .story-section-head h2 { font-size: clamp(44px, 13vw, 64px); }
  .story-bento { display: flex; flex-direction: column; }
  .story-feature__media,
  .story-feature--brush .story-feature__media,
  .story-feature--effects .story-feature__media,
  .story-feature--text .story-feature__media { min-height: 300px; }
  .story-feature__copy { padding: 24px 24px 28px; }
  .story-interlude { min-height: 880px; }
  .story-interlude h2 { font-size: clamp(58px, 17vw, 82px); }
  .story-interlude__visual { min-height: 390px; }
  .story-interlude__stamp { width: 105px; }
  .story-step { padding: 12px 12px 26px; border-radius: 25px; }
  .story-love__head { display: block; }
  .story-love__pill { display: inline-flex; margin-top: 24px; }
  .story-quote:nth-child(2), .story-quote:nth-child(3) { transform: none; }
  .story-signup,
  .story-support { border-radius: 28px; }
  .story-signup__doodle { width: 86px; right: 18px; top: 18px; }
  .story-support { min-height: 420px; }
  .story-footer__links { margin-top: 10px; }
  .story-footer__bottom { flex-direction: column; margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-story *, .story-footer * { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .story-motion-ready [data-reveal] { opacity: 1; transform: none; }
}

