html.lookbook-open,
html.lookbook-open body {
  overflow: hidden;
}

.lookbook {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px 6%;
  align-items: center;
}

.lookbook__copy h2 {
  max-width: 11em;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lookbook__copy p {
  max-width: 28em;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

body[data-page="landing"] .lookbook__open {
  width: auto;
  min-width: 240px;
  margin-top: 36px;
}

.lookbook__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lookbook-gender {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #d7cfc6;
  border-radius: 999px;
  background: #fff;
}

.lookbook-gender button {
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-height: 36px;
  padding: 6px 18px;
  font-size: 14px;
}

.lookbook-gender button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.lookbook__stage .lookbook-gender {
  margin-bottom: 22px;
}

.lookbook__sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 460px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.lookbook__sheet img {
  width: 100%;
  height: auto;
  box-shadow: 0 22px 50px rgba(40, 27, 21, 0.1);
  transition: transform 180ms var(--ease);
}

.lookbook__sheet:active img {
  transform: scale(0.985);
}

.lookbook__tap {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .lookbook__sheet img {
    transition: none;
  }

  .lookbook__sheet:active img {
    transform: none;
  }
}

.lookbook__caption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.lookbook-viewer {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0 28px 18px;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  box-sizing: border-box;
}

.lookbook-viewer[open] {
  display: flex;
  flex-direction: column;
}

.lookbook-viewer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.lookbook-viewer__logo {
  font-size: 15px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.lookbook-viewer__heading {
  display: flex;
  justify-content: center;
}

.lookbook-viewer__close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 8px 0 8px 8px;
  font-size: 14px;
}

.lookbook-viewer__close svg {
  width: 18px;
  height: 18px;
}

.lookbook-viewer__main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  padding-top: 22px;
}

.lookbook-viewer__thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: auto;
  padding: 2px;
}

.lookbook-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.lookbook-thumb__sheet {
  display: block;
  width: 100%;
  border: 2px solid transparent;
  line-height: 0;
}

.lookbook-thumb img {
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 8px 22px rgba(40, 27, 21, 0.08);
}

.lookbook-thumb[aria-current="page"] .lookbook-thumb__sheet {
  border-color: var(--ink);
}

.lookbook-thumb span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.lookbook-thumb[aria-current="page"] span {
  color: var(--ink);
}

.lookbook-viewer__doc {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lookbook-viewer__frame {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.lookbook-viewer__sizer {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lookbook-viewer__frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  background: #fff;
  box-shadow: 0 18px 48px rgba(40, 27, 21, 0.1);
  user-select: none;
  -webkit-user-drag: none;
}

.lookbook-viewer__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
}

.lookbook-viewer__controls button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7cfc6;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.lookbook-viewer__controls button svg {
  width: 18px;
  height: 18px;
}

.lookbook-viewer__controls button:disabled {
  opacity: 0.35;
}

.lookbook-viewer__pager,
.lookbook-viewer__zoom {
  min-width: 3.2em;
  font-size: 13px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lookbook-viewer__split {
  width: 1px;
  height: 22px;
  margin-inline: 6px;
  background: var(--line);
}

.lookbook-viewer__aside {
  min-height: 0;
  overflow: auto;
  padding-top: 8px;
}

.lookbook-viewer__kicker {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lookbook-viewer__aside h3 {
  margin-top: 14px;
  max-width: 11em;
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 450;
}

.lookbook-viewer__aside > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.lookbook-viewer__facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lookbook-viewer__facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.lookbook-viewer__fact-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #efeae3;
}

.lookbook-viewer__fact-icon svg {
  width: 16px;
  height: 16px;
}

body[data-page="landing"] .lookbook-viewer__cta {
  width: 100%;
  min-width: 0;
  margin-top: 26px;
  justify-content: center;
}

@media (max-width: 1100px) {
  body[data-page="landing"] .lookbook__open {
    display: none;
  }

  .lookbook__tap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 2px;
    border-bottom: 1px solid #afa496;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
  }

  .lookbook__tap svg {
    width: 16px;
    height: 16px;
  }

  .lookbook__caption {
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .lookbook {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lookbook__copy h2 {
    max-width: 12em;
  }

  .lookbook__sheet {
    width: min(100%, 420px);
  }

  .lookbook-viewer {
    padding: 0 16px 16px;
  }

  .lookbook-viewer__bar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo close"
      "heading heading";
    min-height: 0;
    padding-block: 12px;
    gap: 10px 12px;
  }

  .lookbook-viewer__logo {
    grid-area: logo;
  }

  .lookbook-viewer__close {
    grid-area: close;
  }

  .lookbook-viewer__heading {
    grid-area: heading;
  }

  .lookbook-viewer__main {
    display: flex;
    flex-direction: column;
    overflow: auto;
    gap: 16px;
    padding-top: 16px;
  }

  .lookbook-viewer__thumbs,
  .lookbook-viewer__doc,
  .lookbook-viewer__aside {
    flex: none;
  }

  .lookbook-viewer__thumbs {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 2px;
  }

  .lookbook-thumb {
    width: 72px;
    flex: none;
  }

  .lookbook-viewer__frame {
    flex: none;
    height: auto;
    overflow: visible;
  }

  .lookbook-viewer__aside {
    overflow: visible;
    padding-bottom: 24px;
  }
}

@media (max-width: 420px) {
  .lookbook-viewer__close-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
