.lookbook-overview-main {
  overflow: clip;
  background: var(--white);
}

.lookbook-overview-hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 39vw, 750px);
  align-items: end;
  overflow: hidden;
  background: var(--deep-green);
  color: var(--white);
}

.lookbook-overview-hero__image,
.lookbook-overview-hero__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.lookbook-overview-hero__image {
  object-fit: cover;
  object-position: center;
}

.lookbook-overview-hero__overlay {
  background: linear-gradient(90deg, rgb(var(--black-rgb) / 0.56) 0%, rgb(var(--black-rgb) / 0.17) 58%, rgb(var(--black-rgb) / 0.1) 100%);
}

.lookbook-overview-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(64px, 8vw, 126px);
}

.lookbook-overview-hero h1 {
  max-width: 780px;
  color: var(--white);
}

.lookbook-overview-hero__content > p {
  max-width: 610px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.lookbook-jump {
  background: var(--off-white);
}

.lookbook-jump__inner {
  display: grid;
  gap: var(--section-label-gap);
}

.lookbook-jump__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lookbook-jump__links a {
  display: inline-flex;
  min-height: 38px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.lookbook-jump__links a:hover,
.lookbook-jump__links a:focus-visible {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  outline: 0;
}

.lookbook-entry {
  scroll-margin-top: 90px;
  background: var(--white);
}

.lookbook-entry:nth-of-type(even) {
  background: var(--off-white);
}

.lookbook-entry__header {
  display: flex;
  margin-bottom: 42px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.lookbook-entry__header h2 {
  max-width: 850px;
}

.lookbook-entry__button {
  flex: 0 0 auto;
}

.lookbook-entry__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}

.lookbook-entry__mockup,
.lookbook-entry__gallery figure {
  margin: 0;
  overflow: hidden;
  background: #eae9e9;
}

.lookbook-entry__mockup {
  position: relative;
  align-self: stretch;
}

.lookbook-entry__mockup img {
  position: absolute;
  inset: 0;
}

.lookbook-entry__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lookbook-entry__gallery figure {
  aspect-ratio: 1;
}

.lookbook-entry__gallery .is-wide {
  grid-column: 1 / -1;
  aspect-ratio: 2.02 / 1;
}

.lookbook-entry__mockup img,
.lookbook-entry__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook-entry--reverse .lookbook-entry__mockup {
  grid-column: 2;
  grid-row: 1;
}

.lookbook-entry--reverse .lookbook-entry__gallery {
  grid-column: 1;
  grid-row: 1;
}

body.lookbook-modal-open {
  overflow: hidden;
}

.lookbook-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: max(78px, 6vh) 24px 40px;
  border: 0;
  overflow: auto;
  background: transparent;
  color: var(--black);
  opacity: 0;
  transition: opacity var(--ease);
}

.lookbook-dialog[open] {
  display: grid;
  place-items: center;
}

.lookbook-dialog::backdrop {
  background: rgb(var(--black-rgb) / 0.72);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity var(--ease);
}

.lookbook-dialog.is-visible,
.lookbook-dialog.is-visible::backdrop {
  opacity: 1;
}

.lookbook-dialog__panel {
  display: grid;
  width: min(100%, 1090px);
  min-height: 620px;
  grid-template-columns: minmax(0, 1.45fr) minmax(400px, 1fr);
  background: var(--white);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity var(--ease), transform var(--ease);
}

.lookbook-dialog.is-visible .lookbook-dialog__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lookbook-dialog__content {
  position: relative;
  display: flex;
  padding: 74px 64px 62px;
  flex-direction: column;
  justify-content: center;
}

.lookbook-dialog h2 span {
  display: block;
  color: var(--muted);
}

.lookbook-dialog__intro {
  max-width: 500px;
  margin-top: 12px;
}

.lookbook-dialog__intro p {
  margin: 0;
}

.lookbook-dialog__form {
  margin-top: 26px;
}

.lookbook-dialog__script {
  position: absolute;
  right: -92px;
  bottom: 76px;
  z-index: 1;
  color: var(--blue-ink);
  font-family: "BiroScript", cursive;
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-5deg);
}

.lookbook-dialog--long-signature .lookbook-dialog__script {
  position: relative;
  right: auto;
  bottom: auto;
  max-width: 100%;
  margin: 28px 0 0;
  align-self: flex-end;
}

.lookbook-dialog__visual {
  margin: 0;
  overflow: hidden;
  background: #e7e7e7;
}

.lookbook-dialog__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
}

.lookbook-dialog__close {
  position: fixed;
  z-index: 2;
  top: 24px;
  right: max(24px, calc((100vw - 1090px) / 2));
  color: var(--white);
}

.admin-bar .lookbook-dialog__close {
  top: 56px;
}

.lookbook-dialog__close svg {
  width: 26px;
  height: 26px;
}

.lookbook-dialog__close:hover,
.lookbook-dialog__close:focus-visible {
  color: var(--lime);
  outline: 0;
}

@media (max-width: 1024px) {
  .lookbook-overview-hero {
    min-height: 560px;
  }

  .lookbook-dialog__panel {
    grid-template-columns: minmax(0, 1fr) 38%;
  }

  .lookbook-dialog__content {
    padding: 58px 46px;
  }
}

@media (max-width: 767px) {
  .lookbook-overview-hero {
    min-height: min(136vw, 570px);
  }

  .lookbook-overview-hero__image {
    object-position: center;
  }

  .lookbook-overview-hero__content {
    padding-bottom: 48px;
  }

  .lookbook-overview-hero__content > p {
    max-width: 320px;
    margin-top: 14px;
    font-size: 13px;
  }

  .lookbook-jump__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lookbook-jump__links a {
    min-height: 36px;
    max-width: 100%;
    padding: 8px 18px;
    line-height: 1.3;
    text-align: center;
    flex: 0 0 auto;
  }

  .lookbook-entry {
    scroll-margin-top: 64px;
  }

  .lookbook-entry__header {
    margin-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .lookbook-entry__media,
  .lookbook-entry--reverse .lookbook-entry__media {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lookbook-entry--reverse .lookbook-entry__mockup,
  .lookbook-entry--reverse .lookbook-entry__gallery {
    grid-column: auto;
    grid-row: auto;
  }

  .lookbook-entry__gallery {
    gap: 10px;
  }

  .lookbook-entry__mockup {
    aspect-ratio: 1;
  }

  .lookbook-dialog {
    padding: 60px 12px 24px;
  }

  .lookbook-dialog[open] {
    place-items: start center;
  }

  .lookbook-dialog__panel {
    min-height: 0;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .lookbook-dialog__content {
    min-width: 0;
    padding: 38px 24px 42px;
  }

  .lookbook-dialog__script {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 24px -6px -14px 0;
    align-self: flex-end;
    font-size: 40px;
  }

  .lookbook-dialog__visual {
    aspect-ratio: 1;
  }

  .lookbook-dialog__close,
  .admin-bar .lookbook-dialog__close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lookbook-jump__links a,
  .lookbook-dialog,
  .lookbook-dialog::backdrop,
  .lookbook-dialog__panel,
  .lookbook-dialog__close {
    transition: none;
  }
}
