.threaded-page { position: relative; isolation: isolate; }
.threaded-page .wrap { width: calc(100% - 208px); max-width: 1240px; }
.story-thread { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 7; overflow: hidden; }
.story-thread > path { fill: none; stroke: #201e1b; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.story-thread .thread-on-dark { stroke: #e7f4be; }
.threaded-page .community-thread { display: none; }
.threaded-page .about-text { padding-right: 32px; }
.threaded-page .faq { padding-bottom: 170px; }
.threaded-page .community { padding-bottom: 115px; }
.threaded-page .night-bottom { margin-top: 35px; }
@media (min-width: 1500px) {
  .threaded-page .night-hero { grid-template-columns: 1fr 1fr; gap: 58px; }
}
@media (min-width: 681px) and (max-width: 1050px) {
  .threaded-page .wrap { width: calc(100% - 152px); }
  .threaded-page .hero h1 { font-size: 76px; }
  .threaded-page .title-flower { width: 34px; height: 34px; margin-left: 8px; }
  .threaded-page .hero-description { font-size: 12px; }
  .threaded-page .about-text { padding-right: 0; }
}
@media (max-width: 680px) {
  .threaded-page .wrap { width: calc(100% - 64px); }
  .threaded-page .hero h1 { font-size: clamp(69px, 18vw, 110px); }
  .threaded-page .title-flower { width: 34px; height: 34px; margin-left: 7px; }
  .threaded-page .about-text { padding-right: 0; }
  .threaded-page .night-bottom { margin-top: 32px; }
  .threaded-page .about { padding-bottom: 155px; }
  .threaded-page .inside { padding-bottom: 146px; }
  .threaded-page .moments { padding-bottom: 155px; }
  .threaded-page .faq { padding-bottom: 148px; }
  .threaded-page .community { padding-bottom: 170px; }
  .story-thread > path { stroke-width: 1.2; }
}

/* One page-wide thread also covers the newer full-bleed sections. */
.threaded-page .ritual-thread,.threaded-page .occasion-thread{display:none}

/* Stable HTML sprites avoid clipping/decoding inside a page-height SVG. */
.thread-figures { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 8; overflow: hidden; }
.thread-person { position: absolute; display: block; overflow: hidden; }
.thread-person[hidden] { display: none; }
.thread-person > img { position: absolute; display: block; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; object-fit: fill; }
