/* Page navigation preserves the global header and the selected image. */
html {
  scrollbar-gutter: stable;
}
[hidden] {
  display: none !important;
}
.nav {
  z-index: 40;
  view-transition-name: site-header;
}
.nav-logo svg {
  color: var(--nav-accent, #fff);
  transition: color 180ms ease-out;
}
::view-transition-old(root),
::view-transition-new(root),
::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
}
::view-transition-old(site-header) {
  display: none;
}
::view-transition-group(site-header) {
  animation: none;
}
::view-transition-group(product-image) {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.route-main {
  min-height: 100svh;
  padding-top: 80px;
}
.route-collection {
  padding-top: 48px;
  padding-bottom: 80px;
}
.product-back {
  display: inline-block;
  font-size: 13px;
  margin-bottom: 32px;
  text-underline-offset: 5px;
}
.route-main .produkt {
  max-width: 1440px;
  margin: auto;
  color: #fff;
}
.route-main .produkt .bild {
  top: 80px;
  height: calc(100svh - 104px);
  min-height: 440px;
}
.route-main .produkt .bild img {
  mask-image: linear-gradient(#000 78%, transparent);
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
}
.route-main .produkt .info {
  padding-top: 48px;
  animation: details-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.route-main .produkt .pname {
  color: var(--pc, #fff);
}
.route-main .produkt dd {
  color: #ccc;
}
.route-main .produkt dd b {
  color: #fff;
}
.route-main .produkt dl,
.route-main .produkt .nav-sorten {
  border-color: #333;
}
.route-main .produkt .sizes {
  flex-wrap: wrap;
}
.route-main .produkt .sizes span {
  border-color: #555;
}
.route-main .produkt .bild.hell {
  border: 0;
}
.algae-page,
.legal-page {
  padding-top: 40px;
  padding-bottom: 80px;
}
.algae-page .page,
.legal-page .page {
  padding: 0 0 32px;
  max-width: 820px;
}
.contact-page {
  padding-top: 48px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
}
.contact-page .lead {
  margin: 24px 0;
}
.contact-page input,
.contact-page select,
.contact-page textarea {
  color: #fff;
  border-color: #555;
  background: #000;
}
.contact-page .btn-dark {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.contact-page .form-error {
  color: #ffb8bf;
}
.contact-page .form-done {
  border-color: #555;
}
.contact-page .form-done pre {
  color: #fff;
  background: #161616;
}
@keyframes details-enter {
  from {
    opacity: 0.5;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Discreet hint: only twice when the finder becomes visible. */
.finder .q {
  position: relative;
  isolation: isolate;
}
.finder .q::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 24px -8px -8px;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(
    110deg,
    transparent 15%,
    rgb(255 255 255 / 9%) 48%,
    transparent 80%
  );
  background-size: 250% 100%;
}
.finder .q.hint-visible:not(.has-choice)::after {
  animation: choice-hint 1800ms ease-out 2;
}
.finder .q:nth-of-type(2)::after {
  animation-delay: 220ms;
}
@keyframes choice-hint {
  0% {
    background-position: 100% 0;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  85%,
  100% {
    background-position: 0 0;
    opacity: 0;
  }
}
.finder-alternative {
  min-height: 21px;
}
.finder-action {
  min-height: 33px;
}
.finder-media [data-finder-state='empty'] {
  opacity: 0.4;
}
.finder-media [data-finder-state='empty']:not(.is-active) {
  opacity: 0;
}
.instagram-link {
  display: inline-flex;
  padding: 8px;
  margin-left: -8px;
}
/* The portrait and film are real, independently focusable cards. */
.founder-stack {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  align-self: center;
}
.founder-card {
  position: absolute;
  border: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
.founder-card img,
.founder-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.founder-portrait {
  width: 84%;
  left: 0;
  bottom: 0;
  aspect-ratio: 3/4;
  z-index: 2;
}
.founder-video {
  width: 82%;
  right: 0;
  top: 0;
  aspect-ratio: 1;
  z-index: 1;
}
.founder-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgb(0 0 0 / 80%));
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.founder-stack[data-active='video'] .founder-video {
  z-index: 3;
  transform: translate(-8px, 8px);
}
.founder-stack[data-active='video'] .founder-portrait {
  transform: translate(-6px, 8px) scale(0.97);
}
.founder-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.community-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: end;
  gap: clamp(16px, 2vw, 28px);
}
.community-testimonial > img {
  aspect-ratio: 3/2;
  object-position: center 42%;
}
.community-dish:last-child img {
  aspect-ratio: 1;
}
/* Context info replaces the native image menu by request. */
.image-info {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 24px;
  color: #fff;
  background: #080808;
  border: 1px solid #444;
}
.image-info::backdrop {
  background: transparent;
}
.image-info.on-light {
  background: #fff;
  color: #000;
  border-color: #ddd;
}
.image-info h2 {
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
  font-variation-settings: 'wdth' 70;
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.image-info p {
  font-size: 14px;
}
.image-info a {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  text-underline-offset: 4px;
}
.image-info .micro {
  font-size: 10px;
}
.image-info-close {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  padding: 6px;
}
.image-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}
@media (max-width: 860px) {
  .route-main .produkt .bild {
    position: relative;
    top: 0;
    min-height: 0;
    height: min(62svh, 540px);
    aspect-ratio: auto;
  }
  .route-main .produkt .info {
    padding-top: 28px;
  }
  .contact-page {
    grid-template-columns: 1fr;
  }
  .founder-stack {
    max-width: 560px;
  }
}
@media (max-width: 760px) {
  .community-grid {
    grid-template-columns: 1fr 1fr;
  }
  .community-testimonial {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) {
    animation: none !important;
  }
  .founder-card,
  .nav-logo svg {
    transition: none;
  }
  .route-main .produkt .info,
  .finder .q::after {
    animation: none !important;
  }
}

.page h2 {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.3;
}
