.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"] {
  bottom: max(10px, calc(14 * var(--mf-view-switcher-u)));
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__group {
  display: flex;
  gap: 3px;
  padding: 4px;
  overflow: hidden;
  pointer-events: auto;
  background: rgb(24 24 24 / 24%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 12%),
    inset 0 1px 0 rgb(255 255 255 / 18%);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  backdrop-filter: blur(24px) saturate(1.25);
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__button {
  display: flex;
  width: 40px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 0;
  color: #fff;
  opacity: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.17, 0.84, 0.44, 1),
    background-color 0.3s cubic-bezier(0.17, 0.84, 0.44, 1),
    box-shadow 0.3s cubic-bezier(0.17, 0.84, 0.44, 1),
    transform 0.3s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__button
  svg {
  width: 15px;
  height: auto;
  flex: none;
  overflow: visible;
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__button:is(:hover, :focus-visible) {
  color: #fff;
  background: rgb(255 255 255 / 12%);
  box-shadow: none;
  transform: translateY(-1px);
}

.mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
  .mf-view-switcher__button.is-active {
  color: rgb(10 10 10 / 90%);
  background: rgb(242 242 242 / 88%);
  border: 0;
  box-shadow: 0 1px 5px rgb(0 0 0 / 12%);
  cursor: default;
  pointer-events: none;
  transform: none;
}

@supports not (
  (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
) {
  .mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
    .mf-view-switcher__group {
    background: rgb(82 82 82 / 92%);
  }

  .mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
    .mf-view-switcher__button {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-view-switcher,
  .mf-view-switcher__button {
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
    .mf-view-switcher__group {
    background: #626267;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .mf-view-switcher[data-mf-view-switcher-style="liquid-glass"]
    .mf-view-switcher__button.is-active {
    outline: 2px solid Highlight;
    outline-offset: -4px;
  }
}

.mf-webgl-wrap {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

.mf-webgl-wrap__canvas {
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.mf-work-explorer {
  --mf-wx-u: 0.0520833333vw;
  --mf-wx-grid-heading-top: clamp(88px, calc(112 * var(--mf-wx-u)), 120px);
  --mf-wx-grid-padding-top: clamp(220px, calc(260 * var(--mf-wx-u)), 280px);
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: #000;
  background: transparent;
  font-family: var(
    --mf-font-body,
    "Schibstedgrotesk",
    "Schibsted Grotesk",
    Arial,
    sans-serif
  );
  font-size: calc(16 * var(--mf-wx-u));
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mf-work-explorer,
.mf-work-explorer *,
.mf-work-explorer *::before,
.mf-work-explorer *::after {
  box-sizing: border-box;
}

.mf-work-explorer a {
  color: inherit;
  text-decoration: none;
}

.mf-work-explorer button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  letter-spacing: inherit;
}

.mf-work-explorer img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.mf-work-explorer.is-gallery-fixed {
  position: fixed;
  z-index: 100;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
}

.mf-work-explorer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

.mf-work-explorer__panel.is-active {
  position: relative;
  pointer-events: auto;
  visibility: visible;
}

.mf-work-explorer__panel.is-leaving {
  pointer-events: none;
  visibility: visible;
}

.mf-work-explorer:not(.has-webgl)[data-mf-work-mode="gallery"]
  .mf-work-explorer__grid-panel {
  position: relative;
  pointer-events: auto;
  visibility: visible;
}

.mf-work-explorer.is-gallery-fixed .mf-work-explorer__panel {
  pointer-events: none;
  visibility: hidden;
}

.mf-work-explorer__grid-panel {
  padding: var(--mf-wx-grid-padding-top) calc(30 * var(--mf-wx-u));
}

.mf-work-explorer__heading {
  position: absolute;
  top: var(--mf-wx-grid-heading-top);
  left: calc(30 * var(--mf-wx-u));
  margin: 0;
  font-size: calc(64 * var(--mf-wx-u));
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.mf-work-explorer__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: calc(20 * var(--mf-wx-u));
}

.mf-work-explorer__card {
  display: flex;
  width: 100%;
  align-self: start;
  flex-direction: column;
  gap: calc(18 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 1) {
  grid-column: 1 / 8;
}

.mf-work-explorer__card:nth-child(10n + 2) {
  grid-column: 9 / -1;
  margin-top: calc(170 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 3) {
  grid-column: 1 / 5;
  margin-top: calc(416 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 4) {
  grid-column: 6 / 12;
  margin-top: calc(188 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 5) {
  grid-column: 8 / 15;
  margin-top: calc(-214 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 6) {
  grid-column: 5 / 9;
  margin-top: calc(178 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 7) {
  grid-column: 1 / 8;
  margin-top: calc(323 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 8) {
  grid-column: 9 / -1;
  margin-top: calc(154 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(9n + 9) {
  grid-column: 2 / 8;
  margin-top: calc(638 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n) {
  grid-column: 11 / -2;
  margin-top: calc(100 * var(--mf-wx-u));
}

.mf-work-explorer__card-image {
  width: 100%;
  height: calc(540 * var(--mf-wx-u));
  overflow: hidden;
}

.mf-work-explorer__card:nth-child(10n + 3) .mf-work-explorer__card-image,
.mf-work-explorer__card:nth-child(10n + 6) .mf-work-explorer__card-image,
.mf-work-explorer__card:nth-child(10n) .mf-work-explorer__card-image {
  height: calc(700 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(10n + 4) .mf-work-explorer__card-image {
  height: calc(540 * var(--mf-wx-u));
}

.mf-work-explorer__card:nth-child(9n + 9) .mf-work-explorer__card-image {
  height: calc(500 * var(--mf-wx-u));
}

.mf-work-explorer__card-image img {
  transition: transform 1.109s cubic-bezier(0.17, 0.84, 0.44, 1),
    opacity 0.3s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.mf-work-explorer.has-webgl .mf-work-explorer__card-image img {
  visibility: hidden;
}

.mf-work-explorer__card:hover .mf-work-explorer__card-image img,
.mf-work-explorer__card:focus-visible .mf-work-explorer__card-image img {
  transform: scale(1.035);
}

.mf-work-explorer__card-meta {
  display: flex;
  justify-content: space-between;
}

.mf-work-explorer__meta-mask,
.mf-work-explorer__meta-count-mask {
  display: block;
  overflow: hidden;
}

.mf-work-explorer__meta-title,
.mf-work-explorer__meta-count {
  display: block;
  will-change: transform;
}

.mf-work-explorer__meta-count {
  position: relative;
  overflow: hidden;
  font-family: var(--mf-font-display, "Gambarino", Georgia, serif);
  text-align: right;
}

.mf-work-explorer__meta-value,
.mf-work-explorer__meta-visit {
  display: block;
  transition: transform 0.6s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.mf-work-explorer__meta-visit {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(101%);
}

.mf-work-explorer__meta-visit::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: max(1px, min(0.05em, 0.05em));
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.mf-work-explorer__card:hover .mf-work-explorer__meta-value,
.mf-work-explorer__card:focus-visible .mf-work-explorer__meta-value {
  transform: translateY(-101%);
}

.mf-work-explorer__card:hover .mf-work-explorer__meta-visit,
.mf-work-explorer__card:focus-visible .mf-work-explorer__meta-visit {
  transform: translateY(0);
}

.mf-work-explorer__card:hover .mf-work-explorer__meta-visit::before,
.mf-work-explorer__card:focus-visible .mf-work-explorer__meta-visit::before {
  transform: scaleX(1);
  transform-origin: left;
  transition-delay: 0.3s;
}

.mf-work-explorer__list {
  display: flex;
  padding: calc(200 * var(--mf-wx-u)) calc(30 * var(--mf-wx-u));
  flex-direction: column;
  gap: calc(20 * var(--mf-wx-u));
}

.mf-work-explorer__list-item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: calc(20 * var(--mf-wx-u));
}

.mf-work-explorer__list-title {
  display: flex;
  height: max-content;
  margin: 0;
  flex-direction: column;
  grid-column: 1 / 6;
  font-family: var(
    --mf-font-body,
    "Schibstedgrotesk",
    "Schibsted Grotesk",
    Arial,
    sans-serif
  );
  font-size: calc(40 * var(--mf-wx-u));
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mf-work-explorer__list-mask {
  display: block;
  width: 100%;
  max-width: calc(300 * var(--mf-wx-u));
  overflow: hidden;
}

.mf-work-explorer__list-line {
  display: block;
  will-change: transform;
}

.mf-work-explorer__list-images {
  display: flex;
  flex-wrap: wrap;
  gap: calc(20 * var(--mf-wx-u));
  grid-column: 10 / -1;
}

.mf-work-explorer__list-image {
  display: block;
  width: calc(100 * var(--mf-wx-u));
  height: calc(70 * var(--mf-wx-u));
}

.mf-work-explorer.has-webgl .mf-work-explorer__list-image img {
  visibility: hidden;
}

.mf-work-explorer__selector-wrap {
  --mf-view-switcher-u: var(--mf-wx-u);
  position: fixed;
  z-index: 101;
  bottom: calc(12 * var(--mf-wx-u));
  left: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  pointer-events: none;
  transform: translateY(calc(100% + 15 * var(--mf-wx-u)));
  transition: transform 1.109s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.mf-work-explorer.is-static .mf-work-explorer__selector-wrap {
  display: none;
}

.mf-work-explorer__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mf-work-explorer__gallery-links {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mf-work-explorer__gallery-link {
  display: block;
}

.mf-work-explorer__gallery-links:focus-within {
  position: fixed;
  z-index: 102;
  bottom: calc(58 * var(--mf-wx-u));
  left: 50%;
  display: flex;
  width: auto;
  height: auto;
  padding: calc(10 * var(--mf-wx-u)) calc(14 * var(--mf-wx-u));
  gap: calc(12 * var(--mf-wx-u));
  overflow: visible;
  border-radius: calc(6 * var(--mf-wx-u));
  background: #eee;
  clip-path: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mf-work-explorer__gallery-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .mf-work-explorer {
    --mf-wx-grid-heading-top: clamp(76px, 9vw, 96px);
    --mf-wx-grid-padding-top: clamp(180px, 20vw, 220px);
  }
}

@media (max-width: 767.98px) {
  .mf-work-explorer {
    --mf-wx-u: 0.2666666667vw;
    --mf-wx-grid-heading-top: clamp(60px, calc(64 * var(--mf-wx-u)), 84px);
    --mf-wx-grid-padding-top: clamp(150px, calc(160 * var(--mf-wx-u)), 210px);
    height: auto !important;
    min-height: 100vh;
    font-size: calc(14 * var(--mf-wx-u));
  }

  .mf-work-explorer.is-gallery-fixed {
    position: relative;
    height: auto;
    inset: auto;
  }

  .mf-work-explorer__panel,
  .mf-work-explorer.is-gallery-fixed .mf-work-explorer__panel {
    display: none;
  }

  .mf-work-explorer__grid-panel,
  .mf-work-explorer__grid-panel.is-active,
  .mf-work-explorer.is-gallery-fixed .mf-work-explorer__grid-panel {
    position: relative;
    display: block;
    padding: var(--mf-wx-grid-padding-top) calc(15 * var(--mf-wx-u));
    pointer-events: auto;
    visibility: visible;
  }

  .mf-work-explorer__grid {
    display: flex;
    flex-direction: column;
    gap: calc(60 * var(--mf-wx-u));
  }

  .mf-work-explorer__heading {
    top: var(--mf-wx-grid-heading-top);
    left: calc(15 * var(--mf-wx-u));
    font-size: calc(42 * var(--mf-wx-u));
  }

  .mf-work-explorer__card:nth-child(n) {
    width: 100%;
    margin-top: 0;
    gap: calc(10 * var(--mf-wx-u));
  }

  .mf-work-explorer__card:nth-child(n) .mf-work-explorer__card-image {
    width: 100%;
    height: calc(215 * var(--mf-wx-u));
  }

  .mf-work-explorer.has-webgl .mf-work-explorer__card-image img,
  .mf-work-explorer__card-image img {
    visibility: visible;
  }

  .mf-work-explorer__selector-wrap {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-work-explorer__card-image img,
  .mf-work-explorer__meta-value,
  .mf-work-explorer__meta-visit,
  .mf-work-explorer__meta-visit::before {
    transition-duration: 0.001ms;
  }
}

