html:has(.story-body) {
  scroll-behavior: smooth;
}

.story-body {
  background: #f4f8ef;
  color: #1c1c1c;
}

.story-reg {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
}

.story-nowrap {
  white-space: nowrap;
}

.story-page {
  padding: 6.5rem 0 3rem;
  overflow-x: hidden;
}

#story-form,
#story-all,
#story-rules,
#story-winners,
#story-steps {
  scroll-margin-top: 5.5rem;
}

.story-header__cta {
  display: none;
}

.story-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
  margin-bottom: 0;
}

@media (min-width: 1320px) {
  .story-hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(240px, 0.72fr);
  }
}

.story-hero__title {
  margin: 4rem 0 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  color: #171717;
}

.story-hero__badge {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  background: #ececec;
  color: #171717;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.story-hero__period {
  margin: 0;
  color: #171717;
  font-size: 1.05rem;
  font-weight: 700;
}

.story-hero__period + .story-hero__period {
  margin-top: 0.2rem;
}

.story-hero__copy > .story-hero__period:last-of-type {
  margin-bottom: 1.35rem;
}

.story-hero__period--done,
.story-hero__period--done strong {
  color: #8a8a8a;
}

.story-hero__cta {
  margin: 1.35rem 0 0;
}

.story-hero__cta .app-button--black {
  background: #c2f733;
  color: #1c1c1c;
  font-weight: 700;
}

.story-hero__cta .app-button--black .app-button__text {
  font-weight: 700;
  color: #1c1c1c;
}

.story-hero__cta .app-button--black:hover {
  background: #b5e82a;
  color: #1c1c1c;
}

.story-hero__text {
  max-width: 38rem;
  font-size: 1.4rem;
  line-height: 1.35;
  color: #171717;
}

.story-hero__text p {
  margin: 0;
  font-weight: 700;
}

.story-hero__text p + p {
  margin-top: 0.85rem;
}

.story-hero__text--done {
  position: relative;
  max-width: 34rem;
}

.story-hero__spark {
  position: absolute;
  top: 1.65rem;
  right: -1.15rem;
  width: 1.45rem;
  height: auto;
  pointer-events: none;
}

.story-hero__art img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-left: auto;
}

.story-block,
.story-gifts,
.story-panel,
.story-note,
.story-steps,
.story-feature,
.story-meet,
.story-form-section,
.story-contact,
.story-thanks,
.story-timeline,
.story-winners,
.story-all,
.story-rules {
  margin-top: 3.5rem;
}

.story-block,
.story-gift,
.story-panel,
.story-steps,
.story-feature,
.story-form-card,
.story-contact,
.story-timeline,
.story-all,
.story-rules {
  background: #fff;
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: 0 0.75rem 2rem rgba(120, 150, 80, 0.08);
}

.story-block__head,
.story-gift__head,
.story-timeline__title {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.story-block__title,
.story-gift h2,
.story-steps h2,
.story-form-card h2,
.story-thanks h2,
.story-all h2,
.story-rules h2 {
  margin: 0 0 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #171717;
}

.story-block__lead,
.story-gift p,
.story-thanks p,
.story-contact p,
.story-rules p,
.story-feature__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #2b2b2b;
}

.story-gifts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.story-gift {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 1.35rem;
  container-type: inline-size;
}

.story-gift--mint {
  background: #d2f0cc;
}

.story-gift--lime {
  background: #f2fed6;
}

.story-gift__icon {
  position: absolute;
  top: -2.35rem;
  left: -1.9rem;
  width: 7.5rem;
  height: auto;
  z-index: 2;
  pointer-events: none;
  animation: story-gift-icon-pulse 2.8s ease-in-out infinite;
}

.story-gift:nth-child(2) .story-gift__icon {
  animation-delay: -0.9s;
}

@keyframes story-gift-icon-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.story-gift h2 {
  margin: 0;
  min-height: 3.2rem;
  padding-left: 4.6rem;
  display: flex;
  align-items: center;
}

.story-gift__title {
  min-width: 0;
}

.story-gift__photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 10.67rem;
  margin: 0.85rem auto 0;
  object-fit: contain;
}

@supports (width: 1cqw) {
  .story-gift__photo {
    height: min(14.67rem, calc(100cqw * 431 / 1198.5));
  }
}

.story-gift p {
  margin-top: 0.9rem;
}

.story-gift a {
  color: #4d7a00;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.story-gift a:hover {
  text-decoration-thickness: 2px;
}

.story-gift__emph {
  font-weight: 600;
}

.story-center {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.25rem;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  gap: 1rem 1.5rem;
  align-items: center;
  background:
    radial-gradient(ellipse 22rem 16rem at 86% 48%, #d9f3b8 0%, rgba(217, 243, 184, 0) 70%),
    #e5f6d4;
}

.story-panel__main {
  position: relative;
  padding-left: 2.4rem;
}

.story-panel__title {
  display: block;
  margin-bottom: 0.35rem;
}

.story-panel__star {
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.75rem;
  height: auto;
  display: block;
}

.story-panel__lead {
  margin: 0;
  color: #171717;
  font-size: 1.05rem;
}

.story-panel__art {
  width: 100%;
  height: auto;
}

.story-checks {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-checks li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.story-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #91d500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l2.6 2.6 6-6.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}

.story-checks a {
  color: #4d7a00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.story-checks a:hover {
  text-decoration-thickness: 2px;
}

.story-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.35rem;
  background: #c2f733;
  border-radius: 1.75rem;
  padding: 0.7rem 1.15rem;
}

.story-note__badge,
.story-note__art {
  display: block;
  width: auto;
  height: 6.5rem;
  object-fit: contain;
}

.story-note__art {
  height: 7.25rem;
}

.story-note__body {
  border-left: 2px solid #1c1c1c;
  padding-left: 1.2rem;
}

.story-note__body p {
  margin: 0;
  color: #171717;
  font-size: 1.05rem;
  line-height: 1.4;
}

.story-note__body p + p {
  margin-top: 0.55rem;
}

.story-note__body a:not(.story-note__link) {
  color: #4d7a00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.story-note__body a:not(.story-note__link):hover {
  text-decoration-thickness: 2px;
}

.story-note__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.story-note__link svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
}

.story-steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-steps {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse 18rem 11rem at 92% 12%, #e4f7c4 0%, rgba(228, 247, 196, 0) 72%),
    #f4fbeb;
}

.story-steps__decor {
  position: absolute;
  pointer-events: none;
  height: auto;
}

.story-steps__decor--a {
  top: 1.15rem;
  right: 4.2rem;
  width: 1.7rem;
}

.story-steps__decor--b {
  top: 2.35rem;
  right: 1.5rem;
  width: 1.05rem;
}

.story-steps__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.3rem;
  color: #171717;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-steps__star {
  display: block;
  width: 1.15rem;
  height: auto;
  flex: 0 0 auto;
}

.story-steps__star--inline {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  vertical-align: -0.12em;
}

.story-steps__lead {
  max-width: 38rem;
  margin: 0.15rem 0 1.15rem;
  color: #171717;
  font-size: 1.05rem;
  line-height: 1.45;
}

.story-steps__list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  min-height: 100%;
  padding: 0.95rem 0.9rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0.35rem 1.1rem rgba(120, 150, 80, 0.08);
}

.story-steps__icon {
  position: relative;
  flex: 0 0 4.8rem;
  width: 4.8rem;
  height: 4.4rem;
}

.story-steps__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.story-steps__icon img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.story-steps__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.story-steps__text strong {
  color: #171717;
  font-size: 1rem;
  line-height: 1.25;
}

.story-steps__text span,
.story-steps__hint span {
  color: #2b2b2b;
  font-size: 0.95rem;
  line-height: 1.35;
}

.story-steps__hint {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.95rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px dashed #c5e39a;
  border-radius: 1.15rem;
}

.story-steps__hint img {
  flex: 0 0 auto;
  width: auto;
  height: 3.1rem;
  object-fit: contain;
}

.story-steps__hint p {
  margin: 0;
}

.story-steps__hint strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #171717;
  font-size: 1.02rem;
  line-height: 1.3;
}

.story-feature__lead {
  margin-bottom: 1rem;
}

.story-feature__card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 1;
  gap: 0.25rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #eef6e4;
}

.story-photos__item {
  position: relative;
  margin: 0;
  min-height: 0;
  background: #e7f3d8;
}

.story-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.story-photo-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.story-photos__badge {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  z-index: 2;
  margin: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #91d500;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: calc(100% - 0.9rem);
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
  pointer-events: none;
}

.story-photos__badge--after {
  left: auto;
  right: 0.45rem;
}

.story-card__person {
  margin: 0.75rem 0 0.35rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.story-card__quote,
.story-feature blockquote {
  margin: 0;
  color: #3a3a3a;
  font-size: 0.98rem;
  line-height: 1.45;
}

.story-meet {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 24rem 16rem at 100% 0%, #d2f48a 0%, rgba(210, 244, 138, 0) 68%),
    #e7f6cc;
  border-radius: 1.75rem;
  padding: 1.7rem 1.45rem 1.35rem;
}

.story-meet__intro h2,
.story-meet__intro p {
  display: inline;
  margin: 0;
  color: #171717;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.story-meet__intro h2::after {
  content: " ";
}

.story-meet__card {
  display: grid;
  grid-template-columns: minmax(16rem, 22.5rem) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 0.85rem;
  background: #fff;
  border-radius: 1.45rem;
  box-shadow: 0 0.55rem 1.6rem rgba(90, 120, 40, 0.08);
}

.story-meet__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.story-meet__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 3.7;
  overflow: hidden;
  border-radius: 1.05rem;
  background: #e7f3d8;
}

.story-meet__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.story-meet__badge {
  position: absolute;
  left: 0.4rem;
  bottom: 0.4rem;
  z-index: 2;
  margin: 0;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.story-meet__badge--after {
  left: auto;
  right: 0.4rem;
  transform: none;
  background: #c6f531;
  color: #171717;
}

.story-meet__marks {
  display: block;
  width: 1.85rem;
  height: auto;
  margin: 0 0 0.55rem;
}

.story-meet__quote {
  margin: 0;
  color: #4b4b4b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.story-meet__quote p {
  margin: 0;
}

.story-meet__quote p + p {
  margin-top: 0.85rem;
}

.story-meet__person {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  color: #171717;
  font-size: 1rem;
  font-weight: 700;
}

.story-meet__dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #b6ef1a;
}

.story-winners {
  background:
    radial-gradient(ellipse 16rem 11rem at 96% 0%, #dff7b0 0%, rgba(223, 247, 176, 0) 70%),
    #f3fbe8;
  border-radius: 1.75rem;
  padding: 1.45rem 1.2rem 1.3rem;
}

.story-winners__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.story-winners__trophy {
  flex: 0 0 auto;
  width: 4.6rem;
  height: auto;
}

.story-winners h2 {
  margin: 0 0 0.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: #171717;
}

.story-winners__head p {
  margin: 0;
  color: #171717;
  font-size: 1.05rem;
  line-height: 1.35;
}

.story-winners__list,
.story-slider--winners {
  margin-top: 1.15rem;
}

.story-winners__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.story-winners .swiper-slide {
  height: auto;
}

button.story-card {
  width: 100%;
  margin: 0;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.story-winners .story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.65rem 0.65rem 0.95rem;
  border-radius: 1.25rem;
  background: #fff;
}

.story-winners .story-photos {
  aspect-ratio: auto;
  gap: 0.4rem;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.story-winners .story-photos__item {
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 3 / 3.7;
}

.story-winners .story-photos__badge {
  left: 0.35rem;
  bottom: 0.35rem;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.72rem;
}

.story-winners .story-photos__badge--after {
  left: auto;
  right: 0.35rem;
  background: #c6f531;
  color: #171717;
}

.story-winners .story-card__person {
  margin: 0.75rem 0.2rem 0.25rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.story-winners .story-card__quote {
  margin: 0 0.2rem;
  color: #8a8a8a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.story-winners .story-slider__controls {
  margin-top: 1rem;
}

.story-winners .story-slider__pagination .swiper-pagination-bullet {
  width: 0.62rem;
  height: 0.62rem;
  background: #d5ddd0;
}

.story-winners .story-slider__pagination .swiper-pagination-bullet-active {
  background: #8ed000;
}

.story-winners__more {
  display: flex;
  justify-content: center;
  margin: 1.35rem 0 0.2rem;
}

.story-all {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 16rem 11rem at 96% 0%, #dff7b0 0%, rgba(223, 247, 176, 0) 70%),
    #f3fbe8;
  box-shadow: none;
  padding: 1.6rem 1.25rem 1.35rem;
}

.story-all__star {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
  width: 1.65rem;
  height: auto;
  pointer-events: none;
}

.story-all h2 {
  max-width: 16em;
  margin-bottom: 0.35rem;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}

.story-all .story-block__lead {
  max-width: 36rem;
  color: #171717;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.4;
}

.story-all__list,
.story-slider--all {
  margin-top: 1.2rem;
}

.story-all__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.story-all .swiper-slide {
  height: auto;
}

.story-all .story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.65rem 0.65rem 0.95rem;
  border-radius: 1.25rem;
  background: #fff;
}

.story-all .story-photos {
  aspect-ratio: auto;
  gap: 0.4rem;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.story-all .story-photos__item {
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 3 / 3.7;
}

.story-all .story-photos__badge {
  left: 0.35rem;
  bottom: 0.35rem;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.72rem;
}

.story-all .story-photos__badge--after {
  left: auto;
  right: 0.35rem;
  background: #c6f531;
  color: #171717;
}

.story-all .story-card__person {
  margin: 0.75rem 0.2rem 0.25rem;
  font-size: 1.02rem;
}

.story-all .story-card__quote {
  margin: 0 0.2rem;
  color: #8a8a8a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.story-all .story-slider__controls {
  margin-top: 1rem;
}

.story-all .story-slider__pagination .swiper-pagination-bullet {
  width: 0.62rem;
  height: 0.62rem;
  background: #d5ddd0;
}

.story-all .story-slider__pagination .swiper-pagination-bullet-active {
  background: #8ed000;
}

.story-slider {
  margin-top: 1rem;
  overflow: hidden;
}

.story-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.story-slider__pagination {
  display: flex;
  gap: 0.35rem;
  width: auto !important;
}

.story-slider__pagination .swiper-pagination-bullet {
  width: 0.55rem;
  height: 0.55rem;
  background: #c9d7b4;
  opacity: 1;
}

.story-slider__pagination .swiper-pagination-bullet-active {
  background: #91d500;
}

.story-slider__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: #f3f7ec;
  color: #1c1c1c;
  cursor: pointer;
}

.story-slider__nav:hover {
  background: #e5f6c4;
}

.story-form-card {
  position: relative;
  background: #c3f64d;
  overflow: hidden;
}

.story-form-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.15rem;
  transition: margin-bottom 360ms ease, gap 360ms ease, grid-template-columns 360ms ease;
}

.story-form-card h2 {
  max-width: none;
  margin-bottom: 0.45rem;
}

.story-form-card__note {
  margin: 0;
  max-width: 36rem;
  color: #171717;
  font-size: 1.02rem;
  line-height: 1.4;
}

.story-form-card__art {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-left: auto;
}

.story-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.story-field {
  position: relative;
  display: block;
}

.story-field__icon {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  z-index: 1;
  display: flex;
  width: 1.45rem;
  height: 1.45rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.story-field__icon svg {
  width: 100%;
  height: 100%;
}

.story-field--story .story-field__icon {
  top: 1.05rem;
  transform: none;
}

.story-field--story textarea {
  min-height: 10.5rem;
  line-height: 1.45;
}

.story-field input,
.story-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0.95rem;
  padding: 0.95rem 0.95rem 0.95rem 2.9rem;
  font: inherit;
  font-weight: 500;
  color: #1c1c1c;
  background: #fff;
}

.story-field input::placeholder,
.story-field textarea::placeholder {
  color: #8b8b8b;
  font-weight: 500;
}

.story-field textarea {
  resize: vertical;
  min-height: 6.5rem;
  padding-bottom: 1.8rem;
}

.story-field--story textarea {
  padding-bottom: 2.2rem;
}

.story-field input:focus,
.story-field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #1c1c1c;
}

.story-upload:focus-within {
  outline: none;
  box-shadow: inset 0 0 0 2px #1c1c1c;
}

.story-field--wide {
  grid-column: 1 / -1;
}

.story-form__count {
  position: absolute;
  right: 0.9rem;
  bottom: 0.55rem;
  color: #8b8b8b;
  font-size: 0.82rem;
  line-height: 1;
  pointer-events: none;
}

.story-photo-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.story-file-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.story-file-previews[hidden] {
  display: none;
}

.story-file-previews__item {
  position: relative;
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #eef6e4;
}

.story-file-previews__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-file-previews__remove {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.78);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.story-file-previews__remove:hover,
.story-file-previews__remove:focus-visible {
  background: #1c1c1c;
  outline: none;
}

.story-field--photo-comment input,
.story-field--photo-comment textarea {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

.story-field--photo-comment textarea {
  resize: none;
  min-height: 0;
  height: auto;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  line-height: 1.35;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.story-field--photo-comment.story-field--wide {
  min-width: 0;
}

.story-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.4rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px dashed rgba(28, 28, 28, 0.45);
  border-radius: 0.95rem;
  background: #fff;
  cursor: pointer;
}

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

.story-upload__icons {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.2rem;
}

.story-upload__icons svg {
  width: 100%;
  height: 100%;
}

.story-upload__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.story-upload__text strong {
  color: #171717;
  font-size: 0.98rem;
  line-height: 1.3;
}

.story-upload__text small {
  color: #6d6d6d;
  font-size: 0.78rem;
}

.story-form__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.story-consents {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1rem 0 1.1rem;
}

.story-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
  color: #171717;
}

.story-consent input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  accent-color: #1c1c1c;
}

.story-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.story-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 3.4rem;
  border: 0;
  border-radius: 999px;
  background: #1c1c1c;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.story-form__submit-icon {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #fff;
  color: #1c1c1c;
  transform: translateY(-50%);
}

.story-form__submit-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.story-form__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.story-form__status {
  margin: 0 0 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  background: #f3f7ec;
}

.story-form__status.is-error {
  background: #fff1f0;
  color: #9b2c2c;
}

.story-form__status.is-ok {
  background: #e9f8cc;
  color: #245000;
}

.story-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.story-contact img {
  flex: 0 0 auto;
}

.story-thanks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #d4f56a;
  border-radius: 1.75rem;
  padding: 1.4rem 1.5rem;
}

.story-thanks h2 {
  margin-bottom: 0.35rem;
}

.story-thanks img {
  width: min(220px, 46vw);
  height: auto;
}

.story-timeline {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 14rem 10rem at 96% 78%, #e4f6c4 0%, rgba(228, 246, 196, 0) 72%),
    #f4fceb;
}

.story-timeline__decor {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.story-timeline__decor--a {
  top: 1.6rem;
  right: 3.4rem;
  width: 2.1rem;
}

.story-timeline__decor--b {
  top: 3.3rem;
  right: 1.35rem;
  width: 1.25rem;
}

.story-timeline__title {
  align-items: center;
  margin-bottom: 1.15rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.story-timeline__badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: #e7f6c8;
}

.story-timeline__badge img {
  width: 1.85rem;
  height: auto;
}

.story-timeline__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0 5.5rem 0 0;
  list-style: none;
}

.story-timeline__list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 1.1rem;
  border-top: 0;
  border-left: 1px solid #d7e6c4;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #171717;
}

.story-timeline__list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.story-timeline__list strong {
  font-size: 1rem;
  font-weight: 700;
}

.story-rules p,
.story-rules .story-checks li {
  line-height: 1.25;
}

.story-rules .story-checks {
  gap: 0.35rem;
}

.story-rules a,
.story-doc a {
  color: #4d7a00;
  font-weight: 600;
}

.story-footer {
  margin-top: 1rem;
  padding: 1.25rem 0 1.75rem;
  background: #e5f6d4;
}

.story-doc {
  margin-top: 0;
  background: #fff;
  border-radius: 1.75rem;
  padding: 1.5rem 1.5rem 2rem;
}

.story-doc__back {
  margin: 0 0 0.9rem;
}

.story-doc__back a {
  color: #4d7a00;
  font-weight: 600;
  text-decoration: none;
}

.story-doc__updated {
  margin: 1.15rem 0 0.4rem;
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.4;
}

.story-doc h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: #171717;
}

.story-doc h2 {
  margin: 1.35rem 0 0.55rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: #171717;
}

.story-doc p,
.story-doc li {
  margin: 0;
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.55;
}

.story-doc p + p,
.story-doc ul + p,
.story-doc p + ul,
.story-doc h2 + p {
  margin-top: 0.7rem;
}

.story-doc ul {
  margin: 0.45rem 0 0;
  padding-left: 1.2rem;
}

.story-doc li + li {
  margin-top: 0.3rem;
}

.story-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.story-footer__logo img {
  display: block;
  height: 4.8rem;
  width: auto;
}

@media (min-width: 901px) {
  .story-footer__logo {
    margin-right: 3rem;
  }
}

.story-footer__dev {
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
}

.story-footer__dev a {
  display: inline-block;
  line-height: 0;
}

.story-footer__dev img {
  display: block;
  width: auto;
  height: 1.5rem;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  transition: filter 200ms ease;
}

.story-footer__dev a:hover img,
.story-footer__dev a:focus-visible img {
  filter: grayscale(0);
}

.story-footer__docs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  min-width: 0;
  max-width: 100%;
}

.story-footer__organizer {
  margin: 0;
  color: #3a3a3a;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
}

.story-footer__organizer a {
  color: #4d7a00;
  font-weight: 600;
  text-decoration: none;
}

.story-footer__organizer a:hover {
  color: #6ea000;
}

.story-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  max-width: 100%;
}

.story-footer__links a {
  color: #3a3a3a;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
}

.story-footer__links a:hover {
  color: #6ea000;
}

.story-footer__social {
  display: flex;
  gap: 0.45rem;
}

.story-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
}

.story-footer__social-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.story-footer__social-link:hover {
  background: #91d500;
  color: #1c1c1c;
}

body.story-modal-open {
  overflow: hidden;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.story-modal[hidden] {
  display: none;
}

.story-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.55);
}

.story-modal__dialog {
  position: relative;
  flex-shrink: 1;
  display: flex;
  flex-direction: column;
  width: 60vw;
  min-height: 0;
  max-height: min(88vh, 52rem);
  max-height: min(88dvh, 52rem);
  overflow: hidden;
  padding: 1.35rem 1.35rem 1.6rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(23, 23, 23, 0.18);
}

.story-modal__body {
  min-height: 0;
  overflow: auto;
}

.story-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f3f3f3;
  color: #171717;
  cursor: pointer;
}

.story-modal__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.story-modal__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #eef6e4;
  aspect-ratio: 3 / 3.5;
}

.story-modal__photo[hidden] {
  display: none;
}

.story-modal__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.story-modal .story-photos__badge {
  left: 0.55rem;
  bottom: 0.55rem;
  background: #1c1c1c;
  color: #fff;
}

.story-modal .story-photos__badge--after {
  left: auto;
  right: 0.55rem;
  background: #c6f531;
  color: #171717;
}

.story-modal__person {
  margin: 1rem 2rem 0.4rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #171717;
}

.story-modal__text {
  margin: 0;
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.5;
  white-space: pre-line;
}

@media (max-width: 900px) {
  .story-body .header.header--promo {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  }

  .story-body .header--promo .header--promo__inner {
    min-height: 0;
    height: auto;
    gap: 0.65rem;
  }

  /* Mobile sticky header logo: ~70% of current mobile height (3.125rem → 2.1875rem) */
  .story-body .header--promo .header__logo-img {
    width: auto;
    height: 2.1875rem;
  }

  .story-body .header--promo .story-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    max-width: 11.5rem;
    margin-left: auto;
    padding: 0.4rem 0.7rem;
    border-radius: 2rem;
    background: #c2f733;
    color: #1c1c1c;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: normal;
  }

  #story-form {
    scroll-margin-top: 4.25rem;
  }

  .story-block,
  .story-gifts,
  .story-panel,
  .story-note,
  .story-steps,
  .story-feature,
  .story-meet,
  .story-form-section,
  .story-contact,
  .story-thanks,
  .story-timeline,
  .story-winners,
  .story-all,
  .story-rules {
    margin-top: 1.75rem;
  }

  .story-modal {
    align-items: flex-start;
    padding: max(0.75rem, env(safe-area-inset-top)) 0 max(0.75rem, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .story-modal__dialog {
    width: 95vw;
    max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin-top: 0;
  }

  .story-hero,
  .story-gifts,
  .story-panel,
  .story-feature__card,
  .story-meet__card,
  .story-form__grid,
  .story-timeline__list {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .story-field--story textarea {
    min-height: 13.45rem;
  }

  .story-panel {
    padding: 1.85rem 1.45rem 1.6rem;
  }

  .story-panel__main {
    padding-left: 2.85rem;
  }

  .story-panel__title {
    margin-bottom: 0.85rem;
  }

  .story-meet__card {
    padding-right: 0.85rem;
  }

  .story-timeline__list li,
  .story-timeline__list li:first-child {
    padding: 0.75rem 0 0;
    border-left: 0;
    border-top: 1px solid #d7e6c4;
  }

  .story-timeline__list li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .story-timeline__decor {
    display: none;
  }

  .story-form-card__head {
    grid-template-columns: 1fr;
  }

  .story-form-card__art-fold {
    order: -1;
    justify-self: center;
    align-self: center;
  }

  .story-form-card__art {
    width: 7.25rem;
    margin-inline: auto;
  }

  .story-form-card__heading,
  .story-form-card__head > :first-child {
    text-align: left;
  }

  .story-steps__list,
  .story-all__list,
  .story-winners__list {
    grid-template-columns: 1fr;
  }

  .story-all__star {
    display: none;
  }

  .story-hero__art img {
    width: min(50%, 260px);
    height: auto;
    margin: 0 auto;
  }

  .story-page .ui-blob--products {
    display: none;
  }

  .story-page {
    padding-top: 1.75rem;
  }

  .story-hero__title {
    margin-top: 2.25rem;
  }

  .story-panel__art {
    order: -1;
    max-width: 240px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
  }

  .story-steps__decor {
    display: none;
  }

  .story-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-footer__logo,
  .story-footer__dev {
    align-self: center;
  }

  .story-footer__logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
  }

  .story-footer__docs {
    align-self: stretch;
    width: 100%;
  }

  .story-footer__organizer {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .story-footer__links {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: #d3efb4;
    border: 1px solid #b7dc86;
    text-align: center;
  }

  .story-footer__links a {
    font-size: 0.8rem;
    line-height: 1.25;
  }
}

@media (max-width: 430px) {
  .story-field--story textarea {
    min-height: 16.6rem;
  }
}

@media (max-width: 700px) {
  .story-page {
    padding-top: 0;
  }

  .story-hero__title {
    margin-top: 2.25rem;
  }

  .story-hero__text {
    font-size: 1.15rem;
  }

  .story-hero__spark {
    right: 0;
    width: 1.15rem;
  }

  .story-gift__icon {
    top: -1.25rem;
    left: -0.45rem;
    width: 5.25rem;
  }

  .story-gift h2 {
    padding-left: 3.6rem;
  }

  .story-note {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.9rem;
    padding: 1.25rem 1.15rem 1rem;
  }

  .story-note__badge {
    height: 3.35rem;
    justify-self: center;
  }

  .story-note__body {
    justify-self: stretch;
    width: 100%;
    border-left: 0;
    padding-left: 0;
  }

  .story-note__art {
    grid-column: 1 / -1;
    justify-self: center;
    height: 4.35rem;
  }

  .story-thanks {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-contact {
    align-items: flex-start;
  }
}

.story-form-card__heading {
  position: relative;
  transition: height 360ms ease, margin-bottom 360ms ease;
}

.story-form-card__heading-ask,
.story-form-card__heading-ok {
  display: block;
  transition: opacity 360ms ease, visibility 0s linear 360ms;
}

.story-form-card__heading-ok {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.story-form-card.is-success .story-form-card__heading {
  margin-bottom: 0;
}

.story-form-card.is-success .story-form-card__heading-ask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.story-form-card.is-success .story-form-card__heading-ok {
  position: relative;
  width: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 360ms ease, visibility 0s linear 0s;
}

.story-form-fold {
  display: grid;
  grid-template-rows: 1fr;
  min-height: 0;
  overflow: hidden;
  opacity: 1;
  transition: grid-template-rows 360ms ease, opacity 360ms ease;
}

.story-form-fold__inner {
  min-height: 0;
  overflow: hidden;
}

.story-form-card__art-fold {
  min-width: 0;
}

.story-form-card.is-success .story-form-card__head {
  margin-bottom: 0;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 0px;
}

.story-form-card.is-success [data-form-extra],
.story-form-card.is-success [data-form-fields] {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .story-form-card.is-success .story-form-card__head {
    grid-template-columns: 1fr;
  }
}

/* Entrance reveals: default = final visible state.
   Pre-state only under html.story-motion + .story-animate (JS), or hero early prep. */
@media (prefers-reduced-motion: no-preference) {
  html.story-motion .story-hero__title:not(.is-in),
  html.story-motion .story-hero__period:not(.is-in) {
    opacity: 0;
    transform: translateY(10px);
  }

  html.story-motion .story-page .ui-blob--products:not(.is-in) {
    opacity: 0;
    transform: scale(0.96);
  }

  html.story-motion .story-hero__title,
  html.story-motion .story-hero__period,
  html.story-motion .story-page .ui-blob--products {
    transition:
      opacity var(--story-anim-ms, 600ms) ease-out,
      transform var(--story-anim-ms, 600ms) ease-out;
    transition-delay: var(--story-anim-delay, 0ms);
  }

  html.story-motion .story-hero__title.is-in,
  html.story-motion .story-hero__period.is-in,
  html.story-motion .story-page .ui-blob--products.is-in {
    opacity: 1;
    transform: none;
  }

  html.story-motion .story-animate:not(.is-in) {
    opacity: 0;
  }

  html.story-motion .story-animate--rise:not(.is-in) {
    transform: translateY(10px);
  }

  html.story-motion .story-animate--zoom:not(.is-in) {
    transform: scale(0.97);
  }

  html.story-motion .story-animate--zoom-badge:not(.is-in) {
    transform: scale(0.92);
  }

  html.story-motion .story-animate--fade:not(.is-in) {
    transform: none;
  }

  html.story-motion .story-animate {
    transition:
      opacity var(--story-anim-ms, 550ms) ease-out,
      transform var(--story-anim-ms, 550ms) ease-out;
    transition-delay: var(--story-anim-delay, 0ms);
  }

  html.story-motion .story-animate.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-gift__icon {
    animation: none;
  }

  .story-form-card__heading,
  .story-form-card__heading-ask,
  .story-form-card__heading-ok,
  .story-form-card.is-success .story-form-card__heading-ask,
  .story-form-card.is-success .story-form-card__heading-ok,
  .story-form-fold,
  .story-form-card__head,
  .story-form-card.is-success .story-form-card__head,
  .story-footer__dev img {
    transition: none;
  }
}
