/* All marks load from the storefront itself and inherit the control's foreground. */
.ui-mark {
  display: inline-block;
  vertical-align: -.16em;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--mark) no-repeat center / contain;
  mask: var(--mark) no-repeat center / contain;
}
.mark-link { --mark: url('/img/ui/arrow-up-right.svg'); width: 1.05em; height: 1.05em; }
.mark-up { --mark: url('/img/ui/arrow-up.svg'); }
.mark-palette { --mark: url('/img/ui/palette.svg'); }
.mark-yarn { --mark: url('/novelos/img/brand-yarn-cropped.png'); }
.bullet .icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; background: #fff9e9; border: 1px solid #cabc93; border-radius: 50%; }
.bullet .icon img { width: 41px; height: 41px; object-fit: contain; }
.bullet .icon img[src$='.svg'] { filter: invert(20%) sepia(18%) saturate(793%) hue-rotate(100deg); }
.quote .stars { width: 100px; height: 20px; margin-inline: auto; background: #83601e; mask: url('/img/ui/star.svg') left center / 20px 20px repeat-x; -webkit-mask: url('/img/ui/star.svg') left center / 20px 20px repeat-x; }
.check-list li::before, .swatch[aria-pressed=true] .swatch-dot::after { content: ''; width: 1em; height: 1em; background: currentColor; -webkit-mask: url('/img/ui/check.svg') center / contain no-repeat; mask: url('/img/ui/check.svg') center / contain no-repeat; }
.swatch[aria-pressed=true] .swatch-dot::after { margin: auto; }
.ritual-strip .ritual-dot { width: 5px; height: 5px; border-radius: 50%; background: #e9c78d; }
.custom-option .ui-mark { color: #75492f; width: 42px; height: 42px; }
.shopping-paths .ui-mark, .story-bridge .wrap>a .mark-yarn { width: 24px; height: 24px; }
.story-bridge .wrap>a { white-space: normal; text-align: center; }
.atelier-divider { display: grid; place-items: center; min-height: 66px; background: #e7ecdf; padding: 12px 0; }
body[data-view] .atelier-divider { background: #f7f1e8; }
.atelier-divider img, img.flourish, img.footer-flourish {
  display: block;
  width: min(84%, 440px);
  height: auto;
  aspect-ratio: 10 / 1;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: brightness(.74) saturate(1.18) drop-shadow(0 .5px 0 #9d753e);
}
img.flourish { margin: 12px auto 21px; }
img.footer-flourish { margin: 0 auto 18px; filter: brightness(1.12) drop-shadow(0 .5px 0 #e9bd70); }
.atelier-credit {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 70;
}
.atelier-credit[hidden], .atelier-speech[hidden] { display: none; }
.atelier-credit button {
  width: 56px; height: 56px; padding: 9px; display: grid; place-items: center;
  border: 1px solid #92704a; border-radius: 50%; background: #fff8e8;
  box-shadow: 0 3px 12px #33260f33; cursor: pointer;
}
.atelier-credit img { width: 100%; height: 100%; object-fit: contain; }
.atelier-credit button:hover, .atelier-credit button[aria-expanded=true] { background: #f9e8c6; border-color: #604323; }
.atelier-credit button:focus-visible { outline: 3px solid #9a6124; outline-offset: 3px; }
.atelier-speech {
  position: absolute; right: calc(100% + 10px); bottom: 4px; width: max-content;
  max-width: min(19rem, calc(100vw - 108px)); padding: 12px 16px; color: #412e20; background: #fff5da;
  border: 0;
  box-shadow: -3px 0 #594835, 3px 0 #594835, 0 -3px #594835, 0 3px #594835, 3px 5px #412e2044;
  font: 600 .9375rem/1.35 ui-monospace, monospace;
}
.atelier-speech strong { display: block; }
.atelier-speech::after { content: ''; position: absolute; width: 6px; height: 7px; right: -6px; bottom: 12px; background: #fff5da; box-shadow: 0 -3px #594835, 0 3px #594835, 3px 2px #594835; }
.has-atelier-credit .back-to-top { right: max(22px, env(safe-area-inset-right)); bottom: calc(84px + env(safe-area-inset-bottom)); }
.has-atelier-credit .site-footer { padding-bottom: max(85px, calc(65px + env(safe-area-inset-bottom))); }
.hero .forest-caption, .forest-hero .orbit-caption { font-size: .875rem; letter-spacing: .06em; }
@media (max-width: 760px) {
  .atelier-credit { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
  .atelier-credit button { width: 50px; height: 50px; padding: 8px; }
  .has-atelier-credit .back-to-top { right: max(15px, env(safe-area-inset-right)); bottom: calc(70px + env(safe-area-inset-bottom)); }
  .atelier-divider { min-height: 54px; }
  .hero { padding: 0 0 20px; }
  .hero .hero-ctas .btn { width: auto; min-width: min(12rem, 100%); }
  .hero .hero-sub, .forest-hero .hero-description { font-size: 1rem; }
  .hero .forest-caption { top: -28px; }
  .hero .hero-eyebrow, .forest-hero .eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .photo-toggle { font-size: .8125rem; min-height: 44px; }
  .forest-hero .hero-cycle-controls button { font-size: .8125rem; }
  .forest-hero .orbit-caption, .hero .forest-caption { font-size: .8125rem; }
  .forest-hero .photo-toggle, .hero .photo-toggle, .story-image .photo-toggle, .closing-section .photo-toggle { right: 78px; }
}
