/* Modal entrances replay on every opening; no motion when the user opts out. */
.menu-account {
  margin-top: 12px;
}
@media (max-width: 1100px) {
  .site-header .account-button {
    display: none;
  }
}
#bag-dialog[open],
#account-dialog[open] {
  animation: search-enter 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#bag-dialog[open]::backdrop,
#account-dialog[open]::backdrop {
  animation: modal-backdrop-in 350ms ease-out both;
}
.account-dialog h2 {
  font-size: clamp(27px, 4vw, 38px);
}
@media (max-width: 374px) {
  .account-dialog h2 {
    font-size: 22px;
  }
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #09090925;
  margin-bottom: 18px;
}
.account-tabs button {
  padding: 13px 8px;
  font-size: 15px;
  border-bottom: 3px solid transparent;
}
.account-tabs button[aria-pressed="true"] {
  border-color: var(--accent);
  font-weight: 600;
}
.account-demo {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}
#account-form {
  display: grid;
  gap: 14px;
}
#account-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}
#account-form label[hidden],
.account-forgot[hidden] {
  display: none;
}
#account-form input {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  background: transparent;
  border: 1px solid #09090935;
}
.account-forgot {
  justify-self: end;
  font-size: 12px;
  text-decoration: underline;
}
.account-submit {
  width: 100%;
  justify-content: space-between;
  font-size: 18px;
  min-height: 48px;
}
.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  color: #555;
}
.account-divider::before,
.account-divider::after {
  content: "";
  height: 1px;
  background: #09090925;
  flex: 1;
}
.account-providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.account-providers button {
  border: 1px solid #09090935;
  padding: 12px 8px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.account-providers button:hover {
  background: #09090908;
}
.account-providers span {
  font-size: 20px;
  font-weight: 700;
}
#account-status {
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}
#account-status:empty {
  display: none;
}
@media (max-width: 767px) {
  .site-header .brand {
    max-width: calc(100% - 92px);
  }
  .site-header .header-actions {
    gap: 4px;
    flex-shrink: 0;
  }
  .site-header .header-actions .icon-button {
    width: 36px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #bag-dialog[open],
  #account-dialog[open],
  #bag-dialog[open]::backdrop,
  #account-dialog[open]::backdrop {
    animation: none !important;
  }
}
.menu-search {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 12px;
  border: 1px solid #09090935;
  font-size: 16px;
  text-align: left;
}
.menu-search:hover,
.menu-search:focus-visible {
  background: var(--accent);
  color: var(--ink);
}
#search-dialog[open] {
  animation: search-enter 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#search-dialog[open]::backdrop {
  animation: modal-backdrop-in 350ms ease-out both;
}
dialog.is-closing::backdrop {
  animation: modal-backdrop-out 300ms ease-in forwards !important;
}
@keyframes search-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes modal-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.faq-questions summary {
  transition: color 180ms ease;
}
.faq-questions summary:hover,
.faq-questions summary:focus-visible {
  color: var(--accent);
}
.mobile-menu {
  padding-top: 28px;
  overflow-y: auto;
}
.menu-brand {
  display: block;
  width: min(225px, calc(100% - 58px));
  margin-bottom: 48px;
}
.menu-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.mobile-menu .dialog-close {
  top: 28px;
  right: var(--gutter);
}
.mobile-menu[open] {
  animation: menu-reveal 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mobile-menu[open] .menu-brand,
.mobile-menu[open] > .eyebrow,
.mobile-menu[open] nav a,
.mobile-menu[open] > p {
  animation: menu-item-in 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mobile-menu[open] > .eyebrow {
  animation-delay: 65ms;
}
.mobile-menu[open] nav a:nth-child(1) {
  animation-delay: 100ms;
}
.mobile-menu[open] nav a:nth-child(2) {
  animation-delay: 150ms;
}
.mobile-menu[open] nav a:nth-child(3) {
  animation-delay: 200ms;
}
.mobile-menu[open] nav a:nth-child(4) {
  animation-delay: 250ms;
}
.mobile-menu[open] > p {
  animation-delay: 300ms;
}
.gallery-dialog[open] {
  animation: modal-paper-in 360ms ease-out both;
}
.gallery-dialog[open]::backdrop,
.mobile-menu[open]::backdrop {
  animation: modal-backdrop-in 400ms ease-out both;
}
@keyframes menu-reveal {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes menu-item-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes modal-paper-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open],
  .mobile-menu[open] *,
  .gallery-dialog[open],
  .mobile-menu[open]::backdrop,
  .gallery-dialog[open]::backdrop {
    animation: none !important;
  }
}
/* Independent photographs, arranged like the supplied editorial collage. */
.community-gallery {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.68;
  width: 100%;
  margin: 30px 0 0;
  scroll-margin-top: 130px;
  z-index: 5;
}
.gallery-backdrop {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: fill;
  z-index: -1;
  pointer-events: none;
}
.gallery-photo {
  position: absolute;
  display: block;
  background: #faf9f5;
  padding: clamp(6px, 0.7vw, 12px);
  padding-bottom: clamp(13px, 1.2vw, 20px);
  box-shadow: 0 8px 15px #09090912;
  transform: rotate(var(--photo-angle));
  transition:
    transform 0.4s ease,
    filter 0.4s;
  z-index: 2;
  mask-image: url("../images/gallery/paper-edge.svg");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  clip-path: polygon(
    1% 1%,
    7% 0.5%,
    12% 1%,
    18% 0,
    25% 0.7%,
    34% 0,
    42% 0.9%,
    49% 0,
    57% 0.6%,
    63% 0,
    71% 0.8%,
    80% 0,
    88% 0.7%,
    99% 0,
    98.8% 8%,
    100% 19%,
    99% 30%,
    100% 43%,
    99.2% 52%,
    100% 66%,
    99% 78%,
    100% 90%,
    99% 99%,
    88% 100%,
    77% 99%,
    68% 100%,
    56% 99.2%,
    44% 100%,
    33% 99%,
    22% 100%,
    12% 99%,
    0 100%,
    0.8% 86%,
    0 74%,
    0.6% 64%,
    0 54%,
    0.8% 44%,
    0 33%,
    1% 21%,
    0 11%
  );
}
.gallery-paper > img {
  mask-image: url("../images/gallery/paper-edge.svg");
  mask-size: 100% 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(
    1% 0,
    17% 0.6%,
    33% 0,
    50% 0.7%,
    71% 0,
    99% 0.5%,
    100% 18%,
    99% 38%,
    100% 58%,
    99% 80%,
    100% 99%,
    75% 100%,
    50% 99.3%,
    26% 100%,
    0 99%,
    0.7% 77%,
    0 51%,
    0.8% 26%
  );
}
.gallery-photo:hover,
.gallery-photo:focus-visible {
  transform: rotate(0deg) translateY(-5px) scale(1.025);
  z-index: 8;
  filter: drop-shadow(0 6px 5px #09090925);
}
.gallery-photo:focus-visible {
  outline: 0;
  background: var(--accent);
}
.photo-one {
  left: 1%;
  top: 23%;
  width: 25%;
  height: 68%;
  --photo-angle: -8deg;
}
.photo-two {
  left: 24%;
  top: 4%;
  width: 26%;
  height: 75%;
  --photo-angle: -3deg;
}
.photo-three {
  left: 47%;
  top: 26%;
  width: 25%;
  height: 69%;
  --photo-angle: 7deg;
  z-index: 3;
}
.photo-four {
  left: 70%;
  top: 1%;
  width: 26%;
  height: 46%;
  --photo-angle: 5deg;
}
.photo-five {
  left: 72%;
  top: 48%;
  width: 27%;
  height: 47%;
  --photo-angle: -5deg;
  z-index: 4;
}
.photo-four > img {
  object-position: center 50%;
}
.photo-five > img {
  object-position: center 37%;
}
.gallery-note {
  font-family: var(--syne);
  font-size: clamp(13px, 1.5vw, 25px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.06em;
  position: absolute;
  z-index: 1;
  transform: rotate(-8deg);
}
.note-one {
  left: 3%;
  top: 2%;
}
.note-two {
  left: 52%;
  top: 3%;
  max-width: 15%;
  font-size: clamp(12px, 1.35vw, 21px);
}
.note-three {
  right: -2%;
  top: 31%;
  writing-mode: vertical-rl;
  font-size: clamp(12px, 1.3vw, 20px);
}
.note-four {
  left: 28%;
  bottom: 0;
  font-size: clamp(11px, 1.35vw, 21px);
}
.gallery-photo-label {
  position: absolute;
  bottom: 5%;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: #faf9f5ef;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  opacity: 0;
  translate: 0 6px;
  transition:
    opacity 0.25s,
    translate 0.25s;
}
.gallery-photo-label .icon {
  width: 15px;
  height: 15px;
}
.gallery-photo:hover .gallery-photo-label,
.gallery-photo:focus-visible .gallery-photo-label {
  opacity: 1;
  translate: 0;
}
.gallery-dialog {
  max-width: 940px;
  padding: 20px 20px 12px;
  overflow: auto;
  max-height: 92svh;
}
.gallery-viewer {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-viewer img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72svh;
  object-fit: contain;
  touch-action: pan-y;
}
.gallery-viewer figcaption {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}
.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 8px;
}
.gallery-controls .icon-button {
  width: 46px;
  height: 46px;
  border: 1px solid #09090924;
}
#gallery-counter {
  font-size: 13px;
  min-width: 80px;
  text-align: center;
}
#gallery-prev .icon {
  transform: rotate(225deg);
}
#gallery-next .icon {
  transform: rotate(45deg);
}
.gallery-dialog .dialog-close {
  background: var(--paper-light);
  box-shadow: 0 0 0 1px #0001;
  right: 12px;
  top: 12px;
}
/* Static, indexable Swedish questions with matching FAQPage microdata. */
.faq {
  z-index: 5;
  padding-top: 100px;
  padding-bottom: 80px;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 8%;
}
.faq-intro h2 {
  font-size: clamp(36px, 4.25vw, 70px);
  line-height: 1.05;
}
.faq-intro > p {
  font-size: 15px;
  margin-top: 28px;
  max-width: 390px;
}
.faq-intro .text-link {
  margin-top: 22px;
  font-size: 20px;
}
.faq-questions {
  border-top: 1px solid #09090935;
}
.faq-questions details {
  border-bottom: 1px solid #09090928;
  padding: 0;
}
.faq-questions summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  padding: 24px 35px 24px 0;
}
.faq-questions summary::-webkit-details-marker {
  display: none;
}
.faq-questions summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 23px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.faq-questions details[open] > summary::after {
  content: "−";
}
.faq-questions details[open] > summary {
  padding-bottom: 13px;
}
.faq-questions details p {
  font-size: 14px;
  line-height: 1.85;
  padding-bottom: 25px;
  max-width: none;
  color: #41413d;
}
.faq .section-top .eyebrow:last-child {
  font-size: 20px;
}
.portrait-note {
  max-width: 180px;
}
.hero-art > span {
  font-size: clamp(22px, 3.4vw, 56px);
}
.bag-dialog #export-designs {
  font-size: 20px;
}
@media (max-width: 1023px) {
  .faq-layout {
    gap: 5%;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .faq-intro h2 {
    font-size: 4.5vw;
  }
  .faq-questions summary {
    font-size: 16px;
  }
  .faq-intro .text-link {
    font-size: 16px;
  }
  .gallery-photo-label {
    font-size: 9px;
    padding: 7px;
  }
  .gallery-photo-label .icon {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 767px) {
  .community-gallery {
    aspect-ratio: auto;
    height: 1080px;
    margin: 30px 0 10px;
  }
  .gallery-backdrop {
    inset: 0 -7%;
    width: 114%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
  }
  .gallery-photo {
    padding: 7px 7px 14px;
  }
  .photo-one {
    left: 0;
    top: 7%;
    width: 53%;
    height: 29%;
    --photo-angle: -6deg;
  }
  .photo-two {
    left: 45%;
    top: 1%;
    width: 55%;
    height: 32%;
    --photo-angle: 4deg;
  }
  .photo-three {
    left: 1%;
    top: 37%;
    width: 58%;
    height: 32%;
    --photo-angle: 5deg;
  }
  .photo-four {
    left: 52%;
    top: 36%;
    width: 48%;
    height: 28%;
    --photo-angle: -5deg;
  }
  .photo-five {
    left: 31%;
    top: 69%;
    width: 64%;
    height: 29%;
    --photo-angle: -4deg;
  }
  .gallery-note {
    font-size: 15px;
  }
  .note-one {
    top: 0;
    left: 0;
    max-width: 40%;
  }
  .note-two {
    top: 32%;
    left: 57%;
    max-width: 43%;
    font-size: 13px;
  }
  .note-three {
    top: 71%;
    left: 0;
    right: auto;
    writing-mode: horizontal-tb;
    font-size: 15px;
    max-width: 27%;
  }
  .note-four {
    left: 4%;
    bottom: 0;
    font-size: 13px;
    max-width: 28%;
  }
  .gallery-photo-label {
    opacity: 1;
    translate: 0;
    font-size: 9px;
    left: 8%;
    right: 8%;
    padding: 7px;
  }
  .community-bottom .hand-note {
    font-size: 17px;
  }
  .faq {
    padding-top: 65px;
    padding-bottom: 45px;
  }
  .faq-layout {
    display: block;
  }
  .faq-intro h2 {
    font-size: 9vw;
  }
  .faq-intro > p {
    font-size: 14px;
    max-width: none;
  }
  .faq-intro .text-link {
    font-size: 18px;
    margin-bottom: 35px;
  }
  .faq-questions summary {
    font-size: 16px;
    padding-top: 21px;
    padding-bottom: 21px;
  }
  .faq-questions details p {
    font-size: 13px;
  }
  .faq .section-top .eyebrow:last-child {
    font-size: 18px;
  }
  .gallery-dialog {
    padding: 12px 12px 8px;
  }
  .gallery-viewer img {
    max-height: 69svh;
  }
  .gallery-viewer figcaption {
    font-size: 14px;
    margin-top: 12px;
  }
  .gallery-controls {
    gap: 22px;
  }
  .hero-art > span {
    font-size: 7vw;
  }
  .bag-dialog #export-designs {
    font-size: 18px;
    padding: 15px;
  }
}
@media (min-width: 500px) and (max-width: 767px) {
  .community-gallery {
    height: 1500px;
  }
}
.gallery-photo {
  padding: 0;
  background: transparent;
  mask-image: none;
  clip-path: none;
  box-shadow: none;
  filter: drop-shadow(0 4px 5px #09090916);
}
.gallery-paper {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: #faf9f5;
  padding: clamp(6px, 0.7vw, 12px);
  padding-bottom: clamp(13px, 1.2vw, 20px);
  mask: url("../images/gallery/paper-edge.svg") 0 0 / 100% 100% no-repeat;
}
.gallery-photo:hover,
.gallery-photo:focus-visible {
  background: transparent;
  filter: drop-shadow(0 18px 15px #09090955) drop-shadow(0 3px 3px #09090930);
}
.gallery-photo:focus-visible .gallery-paper {
  background: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  #search-dialog[open],
  #search-dialog[open]::backdrop,
  dialog.is-closing::backdrop {
    animation: none !important;
  }
  .gallery-photo,
  .gallery-photo-label {
    transition: none;
  }
  .gallery-photo:hover,
  .gallery-photo:focus-visible {
    transform: rotate(0deg);
  }
}

